[OBSOLETE] Fibaro Motion Sensor v3.2

I never use that settings, did you triple click the B button after the setup in app?

since last days a have a problem with the device handler.
the motion sensor did not recognise motion.

someone else?

@NewHere17 I don’t believe its a DH issue. I’ve had this issue often with a few of mine. I’m also beginning to think its not a hardware issue either per say.

I’ve had another recent bout where the sensor was noting motion no problem and then decided to get stuck. I choose this time to ignore. It sorted itself out after many hours. Worked again fine and then decided to ignore motion. Waving, singing, dancing, flinging the cat motion, but nothing on the sensor (which i use to trigger lights).

This got me thinking of the what else is next that could be the issue and I’m now leaning on environment/ atmosphere in the room ie heat, coldness. My sensor is in the room corner and close enough to the room vent which means my sensor gets a steady stream of outside air around it.

Whilst I can not prove my working theory (I’ve moved sensors from room to room)/its my current working theory and I’m trying to monitor any common elements/attributes.

Notwithstanding the above, regardless of which DH you use (I’ve used then all) I do not believe that this issue is DH related at all.

Is there any way to display the temperature in the dashboard?

Display in which dashboard?

When I go to the SmartThings App, theres a main navigation point called β€œDashboard” (lower left corner) where you can add your favorites. Or show the data as a tile.

I think that go with the main display of the sensor in the things tab & not something customizable without changing the code.

1 Like

Hi @krlaframboise newbie here, looking to try out your Fibaro DTH at the same time I’m trying to learn how to subscribe to UK Git Hub repositorys - can I do that with your code? If so, what owner/name/branch should I use? Or do I need to copy/paste the code manually?

@CSC - can you also tell me if I can subscribe to your repositiory? I’m currently trying a few out to see what works for me…

Apologies if I’m not understanding how things work and my questions sound a little stupid! :grimacing:

Many thanks for your help and taking the time to create these DTHs :slight_smile:

Think I’ve figured the github repository element out - I now have an italicised blue listing in my device handler menu… not sure if this is right?

Edit - got it all working now :slight_smile:

I think you have to update from repo to sync the DTHs, but I could be wrong.

The settings for my repository are:

krlaframboise
SmartThings
master

1 Like

Hi guys, need a little help with setting the senzor as thermostat and using it with google home.
I did changed the type to thermostat and linked to GH but every time I ask GH what is the inside temperature it gives me " thermostat is off and the temp is 19.5Β°C".
It looks like the senzor is not updating the temperature and also the β€œthermostat is off” message is killing me.
Thank you!

Hi Chaps,
Im searching all over to see if anyone has any ideas about how to stop this sensor emitting any light? Its going in a bedroom so need it to be dark all night. Preferably by a mode or time setting?

Many thanks,
n

Set parameter 80 to inactive. 0.

Thanks Bob,
Figured my issue, it’s not syncing for some reason! Any ideas as to how you force sync?

N

If the DH you are using has a sync/config button on it in the ST app, put the Fibaro Device into config mode, press button B 3 times and it glows blue, and then press the sync/config button in the app.
EDIT: Change parameter 80 to 0 first.

hi, im using your handle and everything looks ok apart from it never always say "incomplete " after a sync, I left the logging running and got this, can you help?
It started syncing at 14:16 so to be getting errors so long after is a surprise
this is the 1st error
β€Ž14β€Ž:β€Ž25β€Ž:β€Ž35: error groovy.lang.MissingMethodException: No signature of method: script_dth_57bfb3fd_cf44_420e_be87_ef397f179319_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.sensorbinaryv1.SensorBinaryReport) values: [SensorBinaryReport(sensorValue: 255)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)

c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž25β€Ž:β€Ž35: debug Bathroom Motion N Temp - Parsed: SensorBinaryReport(sensorValue: 255)

c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž25β€Ž:β€Ž35: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 3003, payload: FF

14β€Ž:β€Ž58β€Ž:β€Ž27: error groovy.lang.MissingMethodException: No signature of method: script_dth_1da45e9c_af0d_4f70_900f_9a394dff16f3_ver_1_0000001.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.basicv1.BasicSet) values: [BasicSet(value: 0)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž58β€Ž:β€Ž27: debug Bathroom Motion N Temp - Parsed: BasicSet(value: 0)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž58β€Ž:β€Ž27: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 2001, payload: 00
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž58β€Ž:β€Ž27: error groovy.lang.MissingMethodException: No signature of method: script_dth_57bfb3fd_cf44_420e_be87_ef397f179319_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.sensorbinaryv1.SensorBinaryReport) values: [SensorBinaryReport(sensorValue: 0)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž58β€Ž:β€Ž27: debug Bathroom Motion N Temp - Parsed: SensorBinaryReport(sensorValue: 0)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž58β€Ž:β€Ž27: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 3003, payload: 00
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug Parsed zw device: 04, command: 600D, payload: 02 02 25 03 00 to MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 2, parameter: [0], sourceEndPoint: 2) to null
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug MultiChannelCmdEncap mapped - [name:switch2, value:off]
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug MultiChannelCmdEncap called - MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 2, parameter: [0], sourceEndPoint: 2)
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug Event: zw device: 04, command: 600D, payload: 02 02 25 03 00
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug Parsed zw device: 04, command: 600D, payload: 01 01 25 03 00 to MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 1) to null
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug MultiChannelCmdEncap mapped - [name:switch1, value:off]
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug MultiChannelCmdEncap called - MultiChannelCmdEncap(bitAddress: false, command: 3, commandClass: 37, destinationEndPoint: 1, parameter: [0], sourceEndPoint: 1)
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug Event: zw device: 04, command: 600D, payload: 01 01 25 03 00
d85f5b56-0dd5-4bee-8c16-ab2b95c1637c β€Ž14β€Ž:β€Ž58β€Ž:β€Ž10: debug refresh() called
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž19: info Bathroom Motion N Temp - SensorMultilevelReport received, sensor: 3, scaledValue: 42
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž19: debug Bathroom Motion N Temp - Parsed: SensorMultilevelReport(precision: 0, scale: 1, scaledSensorValue: 42, sensorType: 3, sensorValue: [0, 42], size: 2)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž19: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 3105, payload: 03 0A 00 2A
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž16: error groovy.lang.MissingMethodException: No signature of method: script_dth_96f79474_49df_4bfc_9bb0_59b8a193742d_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.basicv1.BasicSet) values: [BasicSet(value: 255)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž16: debug Bathroom Motion N Temp - Parsed: BasicSet(value: 255)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž16: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 2001, payload: FF
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž16: error groovy.lang.MissingMethodException: No signature of method: script_dth_0ff2e78d_afea_44fc_9802_cda7842d1d22_ver_0_2.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.sensorbinaryv1.SensorBinaryReport) values: [SensorBinaryReport(sensorValue: 255)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž16: debug Bathroom Motion N Temp - Parsed: SensorBinaryReport(sensorValue: 255)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž57β€Ž:β€Ž16: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 3003, payload: FF
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž27β€Ž:β€Ž51: error groovy.lang.MissingMethodException: No signature of method: script_dth_614edf50_fbba_473c_a55b_6f52b02d4359_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.sensorbinaryv1.SensorBinaryReport) values: [SensorBinaryReport(sensorValue: 0)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž27β€Ž:β€Ž51: debug Bathroom Motion N Temp - Parsed: SensorBinaryReport(sensorValue: 0)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž27β€Ž:β€Ž51: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 3003, payload: 00
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž37: error groovy.lang.MissingMethodException: No signature of method: script_dth_8d0d0a81_dc08_4965_9228_96d80a430c24_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.basicv1.BasicSet) values: [BasicSet(value: 255)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž37: debug Bathroom Motion N Temp - Parsed: BasicSet(value: 255)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž37: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 2001, payload: FF
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž37: error groovy.lang.MissingMethodException: No signature of method: script_dth_96f79474_49df_4bfc_9bb0_59b8a193742d_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.sensorbinaryv1.SensorBinaryReport) values: [SensorBinaryReport(sensorValue: 255)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž17: error groovy.lang.MissingMethodException: No signature of method: script_dth_614edf50_fbba_473c_a55b_6f52b02d4359_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.basicv1.BasicSet) values: [BasicSet(value: 0)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž17: debug Bathroom Motion N Temp - Parsed: BasicSet(value: 0)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž17: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 2001, payload: 00
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž17: error groovy.lang.MissingMethodException: No signature of method: script_dth_96f79474_49df_4bfc_9bb0_59b8a193742d_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.sensorbinaryv1.SensorBinaryReport) values: [SensorBinaryReport(sensorValue: 0)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž17: debug Bathroom Motion N Temp - Parsed: SensorBinaryReport(sensorValue: 0)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž26β€Ž:β€Ž17: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 3003, payload: 00
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž25β€Ž:β€Ž35: error groovy.lang.MissingMethodException: No signature of method: script_dth_6f1dda24_e622_47d8_b780_48ff135686aa_ver_0_3.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.basicv1.BasicSet) values: [BasicSet(value: 255)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž25β€Ž:β€Ž35: debug Bathroom Motion N Temp - Parsed: BasicSet(value: 255)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž25β€Ž:β€Ž35: debug Bathroom Motion N Temp - Parsing: zw device: 07, command: 2001, payload: FF
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž25β€Ž:β€Ž35: error groovy.lang.MissingMethodException: No signature of method: script_dth_57bfb3fd_cf44_420e_be87_ef397f179319_ver_0_1.zwaveEvent() is applicable for argument types: (physicalgraph.zwave.commands.sensorbinaryv1.SensorBinaryReport) values: [SensorBinaryReport(sensorValue: 255)]
Possible solutions: zwaveEvent(physicalgraph.zwave.commands.applicationstatusv1.ApplicationRejectedRequest), zwaveEvent(physicalgraph.zwave.commands.batteryv1.BatteryReport), zwaveEvent(physicalgraph.zwave.commands.configurationv2.ConfigurationReport), zwaveEvent(physicalgraph.zwave.commands.crc16encapv1.Crc16Encap), zwaveEvent(physicalgraph.zwave.commands.deviceresetlocallyv1.DeviceResetLocallyNotification), zwaveEvent(physicalgraph.zwave.commands.manufacturerspecificv2.DeviceSpecificReport)
c04b00f4-55f7-45fb-8d11-1a13ee2f44de β€Ž14β€Ž:β€Ž25β€Ž:β€Ž35: debug Bathroom Motion N Temp - Parsed: SensorBinaryReport(sensorValue: 255)

thanks

I am newbie… and I am trying to create a Fibaro Motion Sensor App.
I have selected β€œMy Smartapps”, Create, selected β€œFrom Code”, pasted the source into the window, pressed CREATE… after which I receive following error and can’t continue:

No signature of method: script_app_metadata_8b6d2a21_8481_48cd_bdcc_71bb4a48c985.metadata() is applicable for argument types: (script_app_metadata_8b6d2a21_8481_48cd_bdcc_71bb4a48c985$_run_closure1) values: [script_app_metadata_8b6d2a21_8481_48cd_bdcc_71bb4a48c985$_run_closure1@35a92de2] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Can anyone help me what to do…?

If you are trying to use the code above you need to create this as a Device Type Handler, NOT a Smartapp.
Then you can save it OK.

1 Like

Thank a lot

Chaps - any ideas on how to force a sync with this? I’ve tried pushing button once, three times and waiting… sync just doesn’t happen for some reason!

N