Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "cbb1deb.a482f2",
- "type": "tab",
- "label": "change on bat status",
- "disabled": false,
- "info": ""
- },
- {
- "id": "39cc1b31.77d604",
- "type": "mqtt-broker",
- "z": "",
- "name": "raspberry broker",
- "broker": "localhost",
- "port": "1883",
- "clientid": "",
- "usetls": false,
- "compatmode": false,
- "keepalive": "60",
- "cleansession": true,
- "birthTopic": "",
- "birthQos": "0",
- "birthPayload": "",
- "closeTopic": "",
- "closeQos": "0",
- "closePayload": "",
- "willTopic": "",
- "willQos": "0",
- "willPayload": ""
- },
- {
- "id": "a342b5a0.ee7a78",
- "type": "mqtt in",
- "z": "cbb1deb.a482f2",
- "name": "",
- "topic": "solpiplog/pip/battv",
- "qos": "0",
- "datatype": "auto",
- "broker": "39cc1b31.77d604",
- "x": 110,
- "y": 100,
- "wires": [
- [
- "da612be7.9721e8",
- "ed388786.d2c388"
- ]
- ]
- },
- {
- "id": "8ee2dfbc.05e28",
- "type": "mqtt out",
- "z": "cbb1deb.a482f2",
- "name": "",
- "topic": "solpiplog/pip/status/set",
- "qos": "",
- "retain": "",
- "broker": "39cc1b31.77d604",
- "x": 640,
- "y": 240,
- "wires": []
- },
- {
- "id": "a73b2115.8f80d",
- "type": "change",
- "z": "cbb1deb.a482f2",
- "name": "change to eco <=48v",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "eco",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 420,
- "y": 200,
- "wires": [
- [
- "8ee2dfbc.05e28"
- ]
- ]
- },
- {
- "id": "da612be7.9721e8",
- "type": "debug",
- "z": "cbb1deb.a482f2",
- "name": "",
- "active": true,
- "tosidebar": false,
- "console": false,
- "tostatus": true,
- "complete": "payload",
- "targetType": "msg",
- "x": 330,
- "y": 100,
- "wires": []
- },
- {
- "id": "d5b0aa09.baa0a8",
- "type": "change",
- "z": "cbb1deb.a482f2",
- "name": "change to automatic >=52",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "aut",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 410,
- "y": 280,
- "wires": [
- [
- "8ee2dfbc.05e28"
- ]
- ]
- },
- {
- "id": "ed388786.d2c388",
- "type": "switch",
- "z": "cbb1deb.a482f2",
- "name": "choose bat value",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "lte",
- "v": "48",
- "vt": "num"
- },
- {
- "t": "gte",
- "v": "52",
- "vt": "num"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 150,
- "y": 220,
- "wires": [
- [
- "a73b2115.8f80d"
- ],
- [
- "d5b0aa09.baa0a8"
- ]
- ]
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment