sni Geschrieben July 3, 2025 at 16:50 Geschrieben July 3, 2025 at 16:50 industrial_dual_analog_in_v2_bricklet wird auf raspberrypi betrieben und tinkerforge_mqtt gibt die Spannungen beider Eingänge auf entfernten MQTT-Broker aus. { "tinkerforge/register/industrial_dual_analog_in_v2_bricklet/28d5/voltage": {"register": true}, "tinkerforge/request/industrial_dual_analog_in_v2_bricklet/28d5/set_voltage_callback_configuration": {"channel": 0, "period": 1000, "value_has_to_change": false, "option": "x", "min": 0, "max": 0}, "tinkerforge/request/industrial_dual_analog_in_v2_bricklet/28d5/set_voltage_callback_configuration": {"channel": 1, "period": 1000, "value_has_to_change": false, "option": "x", "min": 0, "max": 0}, "tinkerforge/request/industrial_dual_analog_in_v2_bricklet/28d5/set_status_led_config": {"config": 0}, "tinkerforge/request/industrial_dual_analog_in_v2_bricklet/28d5/set_channel_led_status_config": {"channel": 0, "config": 0}, "tinkerforge/request/industrial_dual_analog_in_v2_bricklet/28d5/set_channel_led_status_config": {"channel": 1, "config": 0} } jetzt versuche ich, von Home Assistant aus, die beiden Spannungswerte separat auszulesen, bekomme dort aber immer nur das Topic voltage und darin nacheinander channel0 und channel1. Kann das json oben vielleicht separate topics konfigurieren? Kleiner Anstoß wäre super :-) Zitieren
MatzeTF Geschrieben July 3, 2025 at 17:08 Geschrieben July 3, 2025 at 17:08 Such mal nach "value_template" für HomeAssistant. Vielleicht könnte das hier schon funktionieren, ist aber geraten: {{ value_json['channel0'] }} Dann nutzt du das "voltage"-Topic nochmal und holst stattdessen channel1 raus. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.