I use the non P1 version and for elec its working fine (except the daily usage is a 1000 fold too high) but i won't get any gas values.
this is the error
Code: Select all
2018-02-16 12:19:00.444 dzVents: Info: Power toon: ------ Start internal script: Toon backup:, trigger: every minute
2018-02-16 12:19:00.589 dzVents: Debug: Power toon: Processing device-adapter for Stroom2: kWh device adapter
2018-02-16 12:19:00.590 dzVents: Info: Power toon: Power from toon: 4380.806kwh USAGE | 364w consumed |
2018-02-16 12:19:00.592 dzVents: Debug: Power toon: Processing device-adapter for gas2: Gas device adapter
2018-02-16 12:19:00.593 dzVents: Error (2.4.1): Power toon: An error occured when calling event handler Toon backup
2018-02-16 12:19:00.593 dzVents: Error (2.4.1): Power toon: ...moticz/scripts/dzVents/generated_scripts/Toon backup.lua:116: attempt to perform arithmetic on global 'BackupGas' (a nil value)
2018-02-16 12:19:00.593 dzVents: Info: Power toon: ------ Finished Toon backup
When i look at the output of my toon i get this
Code: Select all
{
"dev_settings_device":{"uuid":"eneco-001-003065:hdrv_zwave_722E1463E52", "name":"settings_device", "internalAddress":"settings_device", "type":"settings_device", "supportsCrc":"0", "location":"(null)"},
"dev_3":{"uuid":"eneco-001-003065:hdrv_zwave_72262C23F3F", "name":"HAE_METER_v2", "internalAddress":"3", "type":"HAE_METER_v2", "supportsCrc":"1", "ccList":"22 3c 3d 3e 56 60 70 72 7a 86 8b 73", "supportedCC":"22 3c 3d 3e 56 60 70 72 7a 86 8b 73", "IsConnected":"1", "HealthValue":"1", "DeviceName":"", "location":"(null)"},
"dev_3.1":{"uuid":"eneco-001-003065:hdrv_zwave_72227F83F45", "name":"HAE_METER_v2_1", "internalAddress":"3.1", "type":"gas", "supportsCrc":"0", "ccList":"3c 3d 3e 72 86", "supportedCC":"3c 3d 3e 72 86", "CurrentGasFlow":"0.00", "CurrentGasQuantity":"98200.00", "location":"(null)"},
"dev_3.2":{"uuid":"eneco-001-003065:hdrv_zwave_722E9E83F45", "name":"HAE_METER_v2_2", "internalAddress":"3.2", "type":"elec", "supportsCrc":"0", "CurrentElectricityFlow":"266.00", "CurrentElectricityQuantity":"221461.00", "location":"(null)"},
"dev_3.3":{"uuid":"eneco-001-003065:hdrv_zwave_722438D3F45", "name":"HAE_METER_v2_3", "internalAddress":"3.3", "type":"elec_delivered_nt", "supportsCrc":"0", "CurrentElectricityFlow":"NaN", "CurrentElectricityQuantity":"NaN", "location":"(null)"},
"dev_3.4":{"uuid":"eneco-001-003065:hdrv_zwave_722255A3F45", "name":"HAE_METER_v2_4", "internalAddress":"3.4", "type":"elec_received_nt", "supportsCrc":"0", "CurrentElectricityFlow":"NaN", "CurrentElectricityQuantity":"NaN", "location":"(null)"},
"dev_3.5":{"uuid":"eneco-001-003065:hdrv_zwave_72272633F45", "name":"HAE_METER_v2_5", "internalAddress":"3.5", "type":"elec_delivered_lt", "supportsCrc":"0", "CurrentElectricityFlow":"NaN", "CurrentElectricityQuantity":"NaN", "location":"(null)"},
"dev_3.6":{"uuid":"eneco-001-003065:hdrv_zwave_722D79F3F45", "name":"HAE_METER_v2_6", "internalAddress":"3.6", "type":"elec_received_lt", "supportsCrc":"0", "CurrentElectricityFlow":"NaN", "CurrentElectricityQuantity":"NaN", "location":"(null)"}
}
What is the problem here?