mqttConnect: {
host: 'mqtt://mqtt.thingspeak.com',
username: 'mosquitto',
password: 'MQTT API key from Thingspeak',
mqttTopic: 'channels/12345channel id/publish/12345 Write API key',
mqttPacketFieldMap: {
temp1: '00_0010_427B_10_0100_000_2_0',
field2: '00_0010_427B_10_0100_002_2_0',
temp3: '00_0010_427B_10_0100_004_2_0',
relay1: '00_0010_427B_10_0100_008_1_0',
relay1hrs: '00_0010_427B_10_0100_010_2_0'
},
ANy help or suggestion greatly appreciated.
Many thanks
paul
--
You received this message because you are subscribed to the Google Groups "Resol Vbus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resol-vbus+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/resol-vbus/bf917ba1-d48c-4b9b-8f68-2bd17f0eea85n%40googlegroups.com.
mqttConnect: {
host: 'mqtt3.thingspeak.com',
username: 'ORkAJzcVDzILCRsBGTEPJhw',
password: 'secret hidden',
},
/**
* MQTT topic to publish to.
*/
mqttTopic: 'channels/1382505/publish/',
/**
* mqttTopic: 'channels/1382505/publish/B0PK1PT1N5FRNAF2',
*/
/**
* Specifies how the MQTT payload is encoded. Supports 'json' (default) and 'urlencoded'.
*/
mqttEncoding: 'urlencoded',
pi@Cot:~/resol-vbus/examples/vbustouch-proxy $ node index.js
debug: Connecting to VBus...
debug: Connection state changed to CONNECTING
debug: Connection state changed to CONNECTED
debug: Connected to VBus...
debug: Starting web server...
debug: Starting HeaderSetConsolidator timer...
debug: Starting MQTT logging
debug: Started web server at:
debug: - http://0.0.0.0:3000/ (internal)
debug: - http://127.0.0.1:3000/ (internal)
debug: - http://192.168.0.110:3000/
debug: 00_0010_427B_10_0100_000_2_0: Temperature sensor 1
00_0010_427B_10_0100_002_2_0: Temperature sensor 2
00_0010_427B_10_0100_004_2_0: Temperature sensor 3
00_0010_427B_10_0100_006_2_0: Temperature sensor 4
00_0010_427B_10_0100_008_1_0: Pump speed relay 1
00_0010_427B_10_0100_012_1_0: Pump speed relay 2
00_0010_427B_10_0100_010_2_0: Operating hours relay 1
00_0010_427B_10_0100_014_2_0: Operating hours relay 2
00_0010_427B_10_0100_016_1_0: UnitType
00_0010_427B_10_0100_017_1_0: System
00_0010_427B_10_0100_020_2_0: ErrorMask
00_0010_427B_10_0100_022_2_0: System time
00_0010_427B_10_0100_020_1_1: Sensor 1 defective
00_0010_427B_10_0100_020_1_2: Sensor 2 defective
00_0010_427B_10_0100_020_1_4: Sensor 3 defective
00_0010_427B_10_0100_020_1_8: Sensor 4 defective
00_0010_427B_10_0100_024_4_0: Status mask
00_0010_427B_10_0100_028_4_0: Heat quantity
00_0010_427B_10_0100_032_2_0: SW Version
00_0010_427B_10_0100_034_2_0: Variant
error: undefined
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
error: undefined {"code":4}
thanks
paul
To view this discussion on the web visit https://groups.google.com/d/msgid/resol-vbus/290872e8-1adb-4be0-981b-e57c80ebb36dn%40googlegroups.com.
debug: Connecting to VBus...
debug: Connection state changed to CONNECTING
debug: Connection state changed to DISCONNECTED
error: undefined
Any suggestions
thanks
paul