Have you configured the MQTT broker in Tasmota. IP address and port plus username and password and client? 5 secs is a short period I have mine set to 120 seconds (that's in logging). In Other you have the Friendly name too.
Regards
Phil
Am I the only one finding this very useful?
I did everything you said, except i don't see any values in my mqtt broker. I've flashed the modified firmware. Which module do I have to configure in the Configure Module section and what are the needed settings for that module?
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/sonoffusers.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/2a462758-5dbb-41e7-a0ae-84f4910a7101%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
P1 smart meter MQTT wifi gateway.
P1 smart meter MQTT wifi gateway.
sensor:
- platform: mqtt
name: "Meter_P1"
unit_of_measurement: "W"
state_topic: "tele/sonoffP1/SENSOR"
value_template: "{{ (value_json.P1GATEWAY.P1 | float *1000) | round(0) }}"
icon: mdi:flash
force_update: true
- platform: mqtt
name: "Meter_T1"
unit_of_measurement: "kWh"
state_topic: "tele/sonoffP1/SENSOR"
value_template: "{{ value_json.P1GATEWAY.T1 | round(2) }}"
icon: mdi:flash-circle
force_update: true
- platform: mqtt
name: "Meter_T2"
unit_of_measurement: "kWh"
state_topic: "tele/sonoffP1/SENSOR"
value_template: "{{ value_json.P1GATEWAY.T2 | round(2) }}"
icon: mdi:flash-circle
force_update: true
- platform: mqtt
name: "Meter_Gas"
unit_of_measurement: "m3"
state_topic: "tele/sonoffP1/SENSOR"
value_template: "{{ value_json.P1GATEWAY.GAS | round(2) }}"
icon: mdi:fire
force_update: true
- platform: mqtt
name: "Meter Tarief"
state_topic: "tele/sonoffP1/SENSOR"
value_template: "{% if value_json.P1GATEWAY.TAR is equalto 1 %}Laag{% else %}Hoog{% endif %}"
# value_template: "{{value_json.P1GATEWAY.TAR}}"
icon: mdi:swap-vertical
force_update : true
- type: entities
title: Energie en gasverbruik
entities:
- entity: sensor.meter_p1
name: Huidig verbruik
- entity: sensor.meter_tarief
name: Huidig tarief
- entity: sensor.meter_t1
name: Totaal verbruik laag
- entity: sensor.meter_t2
name: Totaal verbruik hoog
- entity: sensor.meter_gas
name: Totaal gas verbruik
P1 smart meter MQTT wifi gateway.
Dag Martijn,Weet je waarom ik continu de onderstaande fout krijg?sonoff_template.h:205: error: expected ',' or ';' before 'D_SENSOR_P1GATEWAY'D_SENSOR_P1GATEWAY ;Alvast bedankt.Badr
D_SENSOR_TX20_TX "|"
D_SENSOR_RFSEND "|" D_SENSOR_RFRECV "|"
D_SENSOR_TUYA_TX "|" D_SENSOR_TUYA_RX "|"
D_SENSOR_P1GATEWAY;
P1 smart meter MQTT wifi gateway.