Hehe, I’m in bed in Yorkshire as I type!
Sent from my iPhone using Tapatalk Pro
This Plug provides line voltage, current load, power consumption and energy
consumption measuring.
Voltage – The Supply Power Voltage For Plug.
Current – The Current for the Electric Device Connect to Plug Consumption.
Power – Power Consumed by an Electric Device in an instant, unit: Watt (W).
Energy – Energy Consumed by an Electric Device through a Time Period. Most
commonly measured in Kilowatt-hours (kWh). One kilowatt-hour is Equal to One
Kilowatt of Power Consumed over a Period of One Hour, 1kWh = 1000Wh.0Wh.
https://github.com/mruiter/com.neo/blob/7e46998825a4a3a34cd120488f7932d4276bb7ea/node_modules/homey-zwavedriver/README.md
const ZwaveDriver = require('homey-zwavedriver');
module.exports = new ZwaveDriver('mydriver', {
debug: false, // set to true to view all incoming events
capabilities: {
'onoff': {
'command_class' : 'COMMAND_CLASS_SWITCH_BINARY',
'command_get' : 'SWITCH_BINARY_GET',
'command_set' : 'SWITCH_BINARY_SET',
'command_set_parser' : function( value ){
return {
'Switch Value': value
}
},
'command_report' : 'SWITCH_BINARY_REPORT',
'command_report_parser' : function( report ){
return report['Value'] === 'on/enable';
}
},
'measure_power': {
'command_class' : 'COMMAND_CLASS_SENSOR_MULTILEVEL',
'command_get' : 'SENSOR_MULTILEVEL_GET',
'command_report' : 'SENSOR_MULTILEVEL_REPORT',
'command_report_parser' : function( report ){
return report['Sensor Value (Parsed)'];
}
howartp wrote:Yeah, I noticed it gives v and a but nobody’s asked for it so I didn’t add it; the code is only 2 more lines each to do so.
I’m already using the endpoints to get all the values.
Sent from my iPhone using Tapatalk Pro
CliveS wrote:How did you get it error free?Updated and now error free
My settings are
1 = 1
2 = 300
3 =. 13
4 =. 12
5 =. 1
6 =. 5
7 =. 1
8 =. 0
9 =. 150
10 =. 1
11 =. 0
12 =. 1
mortenkols wrote:CliveS wrote:How did you get it error free?Updated and now error free
Lucardos wrote:was in contact with the Chinees supplier of NEO Coolcam.
They are not aware of any software bugs and the switch should work for the power monitoring.
3 out of 3 not working is not a "marginal". So who is right, INDIGO or NEO?
CliveS wrote:howartp wrote:Yeah, I noticed it gives v and a but nobody’s asked for it so I didn’t add it; the code is only 2 more lines each to do so.
I’m already using the endpoints to get all the values.
Sent from my iPhone using Tapatalk Pro
Peter,
Can I be the first to ask for Volts and Amps please
Lucardos wrote:me too, I really would like to see the Volts and Amps
CliveS wrote:I think I may have worked out why the Neo Power Switch is giving weird updates, the problem is Indigo is interpreting the Voltage and Amperage readings as Watts and kWh.
From my logs
Z-Wave Sensor Logger Debug Raw command: 01 14 00 04 00 8B 0E 32 02 21 54 00 00 14 AE 00 1F 00 00 15 22 BD
Z-Wave Sensor Logger Debug Bitmask: 54, DP: 2, Scale: 2, ByteLength: 4
Z-Wave Sensor Logger Debug Power Reported: 52.94 w
Which is correct as 21 54 is Watts
Z-Wave Sensor Logger Debug Raw command: 01 14 00 04 00 8B 0E 32 02 21 44 00 00 00 2B 00 1F 00 00 00 2B 20
Z-Wave Sensor Logger Debug Bitmask: 44, DP: 2, Scale: 0, ByteLength: 4
Z-Wave Sensor Logger Debug Energy Reported: 0.43 kWh
Which is correct as 21 44 is kWh
Z-Wave Sensor Logger Debug Raw command: 01 10 00 04 00 8B 0A 32 02 A1 4A 00 20 00 1F 00 21 AF
Z-Wave Sensor Logger Debug Bitmask: 4A, DP: 2, Scale: 1, ByteLength: 2
Z-Wave Sensor Logger Debug Energy Reported: 0.32 kVAh
Which is incorrect as A1 4A is Amps
Z-Wave Sensor Logger Debug Raw command: 01 10 00 04 00 8B 0A 32 02 A1 42 5D 1C 03 18 5E 09 B4
Z-Wave Sensor Logger Debug Bitmask: 42, DP: 2, Scale: 0, ByteLength: 2
Z-Wave Sensor Logger Debug Energy Reported: 238.36 kWh
Which is incorrect as A1 42 is Volts and it is overwriting the 'Total Usage' which it should not and why we see the switching .
Incorrectly formed UTF-8
The UTF-8 file “plugin.py” is damaged or incorrectly formed; please proceed with caution.
CliveS wrote:I did get one error with BBEdit and that wasIncorrectly formed UTF-8
The UTF-8 file “plugin.py” is damaged or incorrectly formed; please proceed with caution.
and it got upset with the Celsius and farenheight lines that have the inverted 7 character ( I know -- Don't play with the code !!)
Users browsing this forum: No registered users and 1 guest