Skip to content

Add Sesnsor data? #1

Open
Open
@pluk77

Description

@pluk77

What would it take to add other types of devices? How can I help in getting the done?

I have a Sonoff THR316D which is running Tasmota so I can connect two temperature sensors to one device.

I can currently add the device to my iHost via the MQTT, but the device is detected as a switch.

It seems the code is missing to correctly detect other types of devices and/or deal with other MQTT messages, or is the device not publishing the fact that it has sensors?

The device is publishing the following (1 sensor connected) messages

15:03:14.937 MQT: tele/tasmota_BCDB50/STATE = {"Time":"2024-08-28T15:03:14","Uptime":"0T01:45:10","UptimeSec":6310,"Heap":122,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":1,"Berry":{"HeapUsed":12,"Objects":166},"POWER1":"OFF","POWER2":"OFF","Wifi":{"AP":1,"SSId":"hidden","BSSId":"hidden","Channel":8,"Mode":"HT20","RSSI":94,"Signal":-53,"LinkCount":1,"Downtime":"0T00:00:05"}}
15:03:14.958 MQT: tele/tasmota_BCDB50/SENSOR = {"Time":"2024-08-28T15:03:14","DS18B20":{"Id":"3C01F0964D31","Temperature":19.4},"TempUnit":"C"}

From the logs in iHost it looks like only the /STATE message is being processed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions