TheRamon wrote:
anba wrote:I get homebridge to run for a couple of seconds and then it crashes with the following message:
It worked fine before i started using MQTT. I have the latest version of homebridge installed.
Can someone help me?
Not really sure what the problem is here, I'll try and have a look. Could you post the device json output of your RFXMeter Counter?
See the first post for instructions.
Thanks for your reply.
I don't have a water flow device as the code says. I got three counters and they output the following:
Code: Select all
{
"ActTime" : 1480956307,
"ServerTime" : "2016-12-05 17:45:07",
"Sunrise" : "09:04",
"Sunset" : "13:54",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "204.268 kWh",
"CounterToday" : "18.521 kWh",
"CustomImage" : 0,
"Data" : "204.268 kWh",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 8,
"HardwareName" : "RFXtrx433E",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveTimeout" : false,
"ID" : "02F2",
"LastUpdate" : "2016-12-05 17:44:35",
"Name" : "Räknare el FVP",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"SubType" : "RFXMeter counter",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "RFXMeter",
"TypeImg" : "counter",
"Unit" : 0,
"Used" : 1,
"ValueQuantity" : "",
"ValueUnits" : "",
"XOffset" : "0",
"YOffset" : "0",
"idx" : "48"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ActTime" : 1480956431,
"ServerTime" : "2016-12-05 17:47:11",
"Sunrise" : "09:04",
"Sunset" : "13:54",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "1439.357 kWh",
"CounterToday" : "18.521 kWh",
"CustomImage" : 0,
"Data" : "1439.357 kWh",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 8,
"HardwareName" : "RFXtrx433E",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveTimeout" : false,
"ID" : "03F3",
"LastUpdate" : "2016-12-05 17:46:40",
"Name" : "Räknare el VP garage",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"SubType" : "RFXMeter counter",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "RFXMeter",
"TypeImg" : "counter",
"Unit" : 0,
"Used" : 1,
"ValueQuantity" : "",
"ValueUnits" : "",
"XOffset" : "0",
"YOffset" : "0",
"idx" : "49"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ActTime" : 1480956461,
"ServerTime" : "2016-12-05 17:47:41",
"Sunrise" : "09:04",
"Sunset" : "13:54",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "7010.668 kWh",
"CounterToday" : "13.452 kWh",
"CustomImage" : 0,
"Data" : "7010.668 kWh",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 8,
"HardwareName" : "RFXtrx433E",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveTimeout" : false,
"ID" : "01F1",
"LastUpdate" : "2016-12-05 17:46:40",
"Name" : "Räknare el abonnemang",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"SubType" : "RFXMeter counter",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "RFXMeter",
"TypeImg" : "counter",
"Unit" : 0,
"Used" : 1,
"ValueQuantity" : "",
"ValueUnits" : "",
"XOffset" : "0",
"YOffset" : "0",
"idx" : "50"
}
],
"status" : "OK",
"title" : "Devices"
}