Node-Red Dashboard Switch Status


#1

Hallo zusammen,

bin eben am NODE-RED basteln und habe ein Problem mit dem Dashboard Switch. Node-Red Version ist 0.19.5. Leider übernimmt dieser den Mqtt Status nicht. Ich weiß das es auch Node-Blue gibt. Hier fehlt mir aber ein Dashboard. Anbei mal mein flow

[{"id":"9e7d4f4c.9d7e6","type":"ui_switch","z":"d2995635.6e7f6","name":"","label":"switch","tooltip":"","group":"7b7ccb52.14a68c","order":4,"width":0,"height":0,"passthru":false,"decouple":"true","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":260,"y":180,"wires":[["f36d645d.3888d8"]]},{"id":"395ec273.38eda6","type":"mqtt in","z":"d2995635.6e7f6","name":"","topic":"homegear/elt-01/plain/15/1/STATE","qos":"2","broker":"3c6333cb.d63e44","x":220,"y":80,"wires":[["9e7d4f4c.9d7e6"]]},{"id":"f36d645d.3888d8","type":"mqtt out","z":"d2995635.6e7f6","name":"","topic":"homegear/elt-01/set/15/1/STATE","qos":"","retain":"","broker":"3c6333cb.d63e44","x":620,"y":220,"wires":[]},{"id":"7b7ccb52.14a68c","type":"ui_group","z":"","name":"Strom","tab":"c8aeee1e.e47368","order":4,"disp":true,"width":"6","collapse":false},{"id":"3c6333cb.d63e44","type":"mqtt-broker","z":"","name":"MosquittoEltville","broker":"smarthome.its-db.de","port":"8883","tls":"abf03ab9.a85b6","clientid":"","usetls":true,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"c8aeee1e.e47368","type":"ui_tab","z":"","name":"Arbeitszimmer","icon":"dashboard","order":4,"disabled":false,"hidden":false},{"id":"abf03ab9.a85b6","type":"tls-config","z":"","name":"","cert":"","key":"","ca":"","certname":"","keyname":"","caname":"Thawte.pem","servername":"","verifyservercert":true}]

Vlt. hat jemnd eine Idee.

Gruß

Dirk


#2

Ha Problem gefunden… Typ war falsch… War Boolean, muss aber String sein.

Daher kann das ganze hier wieder geschlossen werden:-)

Gruß Dirk


closed #3