Hallo Forum,
ich habe auf einem Wemos D1 tasmota zur Anzeige der Stromverbrauchswerte (danke ans Forum für die Hilfe).
Nun würde ich gerne die Werte direkt an ThingSpeak übertragen, da ich mir einen eigenen broker etc sparen möchte. Tasmota bietet offenbar keine direkte ThingSpeak Schnittstelle, so dass ich mqtt verwenden möchte.
Leider bekomme ich die Verbindung zu ThingSpeak per mqtt nicht hin. Vielleicht kann mir hier jemand einen Tip geben.
Im ThingSpeak Forum habe ich folgende Hinweise bekommen:
ZitatAlles anzeigen
JasonWI'm just guessing, but it appears you don't have any control over the payload's format.
If that is a correct assumption then I would just leave topic blank and publish to field1 and see what you get.
Host: mqtt.thingspeak.com
Port: 1883
Client: TobbesTasmota (there are some restrictions on what characters are valid, stick to letters and numbers)
User: (this can be whatever you want)
Password: (MQTT API key)
Topic: (leave blank)
Full topic: channels/12345/publish/fields/field1/ABCDEFGHIJKLMNOP (change to your channel and API Key obviously)
Two things to be aware of:
- Unfortunately, the data being sent to field1 will not be parsed.
- Maximum length of a field update is 255 characters.
Leider bekomme ich mit diesen Angabenimmer den Fehler:
Gruß Tobbes