Metainformationen zur Seite

APC USV Anlage über NodeRed

Den Node apcrequest installieren:  https:%%//%%flows.nodered.org/node/node-red-contrib-apcaccess

1231422814.jpg


MQTT installieren:

1231422820.jpg




Flow einfügen: 

[{"id":"4fe3152e.4ecb7c","type":"apcrequest","z":"8c800ef5.c120b","name":"apc","server":"f845b451.0a1d48","x":910,"y":4440,"wires":"b427e424.d4b908","415e9cfd.b75024"},{"id":"5df7775b.30f3c8","type":"inject","z":"8c800ef5.c120b","name":"","topic":"Alle 60Sekunden","payload":"status","payloadType":"str","repeat":"60","crontab":"","once":false,"onceDelay":"","x":630,"y":4440,"wires":"4fe3152e.4ecb7c"},{"id":"b427e424.d4b908","type":"debug","z":"8c800ef5.c120b","name":"","active":true,"console":"false","complete":"false","x":1110,"y":4520,"wires":[]},{"id":"415e9cfd.b75024","type":"mqtt out","z":"8c800ef5.c120b","name":"","topic":"apc","qos":"","retain":"","broker":"385abb60.8a30c4","x":1110,"y":4440,"wires":[]},{"id":"7c322f86.5a02f","type":"inject","z":"8c800ef5.c120b","name":"","topic":"Alle 60Sekunden","payload":"events","payloadType":"str","repeat":"60","crontab":"","once":false,"onceDelay":"","x":630,"y":4480,"wires":"4fe3152e.4ecb7c"},{"id":"b72f2697.66fc48","type":"inject","z":"8c800ef5.c120b","name":"Alle 60Sekunden","topic":"Test","payload":"statusJson","payloadType":"str","repeat":"60","crontab":"","once":false,"onceDelay":"","x":610,"y":4520,"wires":"4fe3152e.4ecb7c"},{"id":"f845b451.0a1d48","type":"apcconfig","z":"8c800ef5.c120b","name":"localhost","host":"127.0.0.1","port":"3551"},{"id":"385abb60.8a30c4","type":"mqtt-broker","z":"","name":"","broker":"localhost","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""}]


1231422813.jpg

bei den Broker Security Einstellungen das Passwort nicht vergessen:

1231422822.jpg





Topic im Loxberry MQTT Plugin anlegen:

1231422816.jpg


Virtuelle Eingänge wie üblich in der Config anlegen:

1231422817.jpg