Having issues with a curtain motor and Z-Wave parameters here:
Anyone make sense of it ?
Having issues with a curtain motor and Z-Wave parameters here:
Anyone make sense of it ?
After attempting to set parameters on this Z-Wave device, at the same time in the log, I am seeing this and Luaupnp crashes? and reloads.
The Z-Wave curtain motor I am trying to set parameters for is device number 604 with altid (node) 113
02/09/21 13:07:17.035 UserData::CommitToDatabase data size 1076701 1076701 <0x6d21e520>
06 02/09/21 13:07:17.043 Device_Variable::m_szValue_set device: 54 service: urn:micasaverde-com:serviceId:EnergyMetering1 variable: Log was: 419,415,488,1612876029,2230 now: 417,415,488,1612876037,2238 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x6d81e520>
06 02/09/21 13:07:17.052 Device_Variable::m_szValue_set device: 537 service: urn:upnp-org:serviceId:TemperatureSensor1 variable: CurrentTemperature was: 2.00 now: 1.50 #hooks: 0 upnp: 0 skip: 0 v:0x163db68/NONE duplicate:0 <0x76974520>
01 02/09/21 13:07:17.279 UserData::WriteUserData saved--before move File Size: 219775 save size 219775 <0x6d21e520>
02 02/09/21 13:07:17.279 UserData::TempLogFileSystemFailure start 0 <0x6d21e520>
02 02/09/21 13:07:17.306 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x6d21e520>
02 02/09/21 13:07:17.307 UserData::TempLogFileSystemFailure 699 res:1
-rw-r--r-- 1 root root 504 Aug 14 2015 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 219748 Feb 9 13:05 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 219814 Feb 9 12:50 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 219796 Feb 9 12:50 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 219784 Feb 9 12:50 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 219820 Feb 9 12:44 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 219873 Feb 9 12:28 /etc/cmh/user_data.json.lzo.5
-rw-r--r-- 1 root root 219775 Feb 9 13:07 /etc/cmh/user_data.json.lzo.new
<0x6d21e520>
02 02/09/21 13:07:17.408 UserData::TempLogFileSystemFailure start 0 <0x6d21e520>
02 02/09/21 13:07:17.435 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x6d21e520>
02 02/09/21 13:07:17.436 UserData::TempLogFileSystemFailure 610 res:1
-rw-r--r-- 1 root root 504 Aug 14 2015 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 219775 Feb 9 13:07 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 219748 Feb 9 13:05 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 219814 Feb 9 12:50 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 219796 Feb 9 12:50 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 219784 Feb 9 12:50 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 219820 Feb 9 12:44 /etc/cmh/user_data.json.lzo.5
<0x6d21e520>
06 02/09/21 13:07:17.437 Device_Variable::m_szValue_set device: 1 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: NetStatusID was: 1 now: 2 #hooks: 0 upnp: 0 skip: 0 v:0x1372678/NONE duplicate:0 <0x6d21e520>
06 02/09/21 13:07:17.446 Device_Variable::m_szValue_set device: 1 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: NetStatusText was: OK now: Resetting ZWave Network #hooks: 0 upnp: 0 skip: 0 v:0x19ac918/NONE duplicate:0 <0x6d21e520>
06 02/09/21 13:07:17.449 Device_Variable::m_szValue_set device: 244 service: urn:micasaverde-com:serviceId:ZigbeeNetwork1 variable: NetStatusID was: 0 now: 3 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x6d21e520>
06 02/09/21 13:07:17.450 Device_Variable::m_szValue_set device: 244 service: urn:micasaverde-com:serviceId:ZigbeeNetwork1 variable: NetStatusText was: OK now: GET_LANG(resetting_zigbee_network,Resetting Zigbee Network) #hooks: 0 upnp: 0 skip: 0 v:0x177bb28/NONE duplicate:0 <0x6d21e520>
02 02/09/21 13:07:19.278 UserData::CommitToDatabase data size 1076779 1076779 <0x77627320>
01 02/09/21 13:07:19.561 UserData::WriteUserData saved--before move File Size: 219792 save size 219792 <0x77627320>
02 02/09/21 13:07:19.561 UserData::TempLogFileSystemFailure start 0 <0x77627320>
02 02/09/21 13:07:19.587 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x77627320>
02 02/09/21 13:07:19.588 UserData::TempLogFileSystemFailure 699 res:1
-rw-r--r-- 1 root root 504 Aug 14 2015 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 219775 Feb 9 13:07 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 219748 Feb 9 13:05 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 219814 Feb 9 12:50 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 219796 Feb 9 12:50 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 219784 Feb 9 12:50 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 219820 Feb 9 12:44 /etc/cmh/user_data.json.lzo.5
-rw-r--r-- 1 root root 219792 Feb 9 13:07 /etc/cmh/user_data.json.lzo.new
<0x77627320>
02 02/09/21 13:07:19.687 UserData::TempLogFileSystemFailure start 0 <0x77627320>
02 02/09/21 13:07:19.714 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x77627320>
02 02/09/21 13:07:19.715 UserData::TempLogFileSystemFailure 610 res:1
-rw-r--r-- 1 root root 504 Aug 14 2015 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 219792 Feb 9 13:07 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 219775 Feb 9 13:07 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 219748 Feb 9 13:05 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 219814 Feb 9 12:50 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 219796 Feb 9 12:50 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 219784 Feb 9 12:50 /etc/cmh/user_data.json.lzo.5
<0x77627320>
01 02/09/21 13:07:19.716 Mongoose XXX-mg_stop1 0x15db8c8 1 10 <0x77627320>
01 02/09/21 13:07:21.717 Mongoose XXX-mg_stop2 0x15db8c8 2 10 <0x77627320>
01 02/09/21 13:07:21.717 Mongoose XXX-mg_stop3 0x15db8c8 2 10 <0x77627320>
01 02/09/21 13:07:21.718 Mongoose XXX-mg_stop4 0x15db8c8 47797200 10 <0x77627320>
06 02/09/21 13:07:21.742 Device_Variable::m_szValue_set device: 244 service: urn:micasaverde-com:serviceId:ZigbeeDevice1 variable: PendingRemoveDevices was: 00158d000411965b-9727 now: 00158d000411965b-9727 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x77627320>
06 02/09/21 13:07:21.746 Device_Variable::m_szValue_set device: 244 service: urn:micasaverde-com:serviceId:ZigbeeDevice1 variable: UnknownDevices was: now: #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x77627320>
01 02/09/21 13:07:23.275 Main WatchDogRoutine: blocked - terminating 1 <0x6bd83520>
02 02/09/21 13:07:23.278 Dumping 60 locks <0x6bd83520>
02 02/09/21 13:07:23.278 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.278 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.279 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.279 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.279 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.279 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.280 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.280 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.280 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.280 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.281 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.281 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.281 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.281 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.282 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.282 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.282 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.282 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.282 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.283 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.283 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.283 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.284 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.284 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.284 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.284 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.284 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.284 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.285 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.285 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.285 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.285 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.286 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.286 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.286 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.287 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.287 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.287 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.288 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.288 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.289 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.289 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.289 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.290 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.290 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.290 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.291 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.291 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.291 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.291 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.292 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.292 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.292 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.292 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.292 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.293 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.293 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.294 OL: (0x1d3646c) (>5552051) Lua LuaInterface.cpp l:2556 time: 13:07:21p (2 s) thread: 0x75774520 Rel: N Got: Y <0x6bd83520>
02 02/09/21 13:07:23.294 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.295 OL: (0x1bbee7c) (>5552057) Lua LuaInterface.cpp l:2556 time: 13:07:21p (2 s) thread: 0x75574520 Rel: N Got: Y <0x6bd83520>
02 02/09/21 13:07:23.295 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.295 OL: (0x1d35324) (>5552083) Lua LuaInterface.cpp l:2556 time: 13:07:21p (2 s) thread: 0x75974520 Rel: N Got: Y <0x6bd83520>
02 02/09/21 13:07:23.296 finished check for exceptions <0x6bd83520>
02 02/09/21 13:07:23.296 OL: (0x1d38fec) (>5552391) alarm AlarmManager.cpp l:109 time: 13:07:21p (2 s) thread: 0x77627320 Rel: Y Got: Y <0x6bd83520>
2021-02-09 13:07:23 - LuaUPnP Terminated with Exit Code: 137
Paired the curtain motor to my Vera Edge instead of the Vera Plus.
Its now device number 118 with altid 8.
After attempting to set a parameter on the device I see the following in the log:
02/09/21 13:29:07.235 <Job ID="4" Name="pollnode #8 1 cmds" Device="118" Created="2021-02-09 13:29:07" Started="2021-02-09 13:29:07" Completed="2021-02-09 13:29:07" Duration="0.133734000" Runtime="0.132583000" Status="Successful" LastNote="" Node="8" NodeType="ZWaveWindowCovering" NodeDescription="Masterbed Curtains"/> <0x7792b520>
06 02/09/21 13:29:07.235 Device_Variable::m_szValue_set device: 118 service: urn:micasaverde-com:serviceId:HaDevice1 variable: PollRatings was: 5.00 now: 5.00 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x7792b520>
06 02/09/21 13:29:07.236 Device_Variable::m_szValue_set device: 118 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: LastPollSuccess was: 1612877257 now: 1612877347 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x7792b520>
06 02/09/21 13:29:07.236 Device_Variable::m_szValue_set device: 118 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: ConsecutivePollFails was: 0 now: 0 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x7792b520>
06 02/09/21 13:30:02.347
Device_Variable::m_szValue_set device: 118 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: VariablesSet was: 8,2h,0000 now: 8,2h,0000,1,m, #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x6ecea520>
06 02/09/21 13:30:27.652 Device_Variable::m_szValue_set device: 118 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: VariablesSet was: 8,2h,0000,1,m, now: 8,2h,0000,33,2h,0000 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x700ea520>
03 02/09/21 13:30:27.681 JobHandler_LuaUPnP::Reload: dr_reload Critical 1 m_bCriticalOnly 0 dirty data 1 running 1 <0x6faea520>
02 02/09/21 13:30:28.083 UserData::CommitToDatabase data size 301135 301135 <0x6faea520>
01 02/09/21 13:30:28.256 UserData::WriteUserData saved--before move File Size: 47216 save size 47216 <0x6faea520>
02 02/09/21 13:30:28.256 UserData::TempLogFileSystemFailure start 0 <0x6faea520>
02 02/09/21 13:30:28.282 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x6faea520>
02 02/09/21 13:30:28.283 UserData::TempLogFileSystemFailure 699 res:1
-rw-r--r-- 1 root root 504 Dec 20 2017 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 47244 Feb 9 13:25 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 47232 Feb 9 13:25 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 46987 Feb 9 13:21 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 46975 Feb 9 13:21 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 46540 Feb 9 13:20 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 46542 Feb 9 13:20 /etc/cmh/user_data.json.lzo.5
-rw-r--r-- 1 root root 47216 Feb 9 13:30 /etc/cmh/user_data.json.lzo.new
<0x6faea520>
02 02/09/21 13:30:28.382 UserData::TempLogFileSystemFailure start 0 <0x6faea520>
02 02/09/21 13:30:28.407 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x6faea520>
02 02/09/21 13:30:28.408 UserData::TempLogFileSystemFailure 610 res:1
-rw-r--r-- 1 root root 504 Dec 20 2017 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 47216 Feb 9 13:30 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 47244 Feb 9 13:25 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 47232 Feb 9 13:25 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 46987 Feb 9 13:21 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 46975 Feb 9 13:21 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 46540 Feb 9 13:20 /etc/cmh/user_data.json.lzo.5
<0x6faea520>
06 02/09/21 13:30:28.409 Device_Variable::m_szValue_set device: 1 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: NetStatusID was: 1 now: 2 #hooks: 0 upnp: 0 skip: 0 v:0xfb8d78/NONE duplicate:0 <0x6faea520>
06 02/09/21 13:30:28.409 Device_Variable::m_szValue_set device: 1 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: NetStatusText was: OK now: Resetting ZWave Network #hooks: 0 upnp: 0 skip: 0 v:0xfa7cf8/NONE duplicate:0 <0x6faea520>
02 02/09/21 13:30:28.668 UserData::CommitToDatabase data size 301156 301156 <0x77f44000>
01 02/09/21 13:30:28.857 UserData::WriteUserData saved--before move File Size: 47229 save size 47229 <0x77f44000>
02 02/09/21 13:30:28.857 UserData::TempLogFileSystemFailure start 0 <0x77f44000>
02 02/09/21 13:30:28.882 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x77f44000>
02 02/09/21 13:30:28.883 UserData::TempLogFileSystemFailure 699 res:1
-rw-r--r-- 1 root root 504 Dec 20 2017 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 47216 Feb 9 13:30 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 47244 Feb 9 13:25 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 47232 Feb 9 13:25 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 46987 Feb 9 13:21 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 46975 Feb 9 13:21 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 46540 Feb 9 13:20 /etc/cmh/user_data.json.lzo.5
-rw-r--r-- 1 root root 47229 Feb 9 13:30 /etc/cmh/user_data.json.lzo.new
<0x77f44000>
02 02/09/21 13:30:28.984 UserData::TempLogFileSystemFailure start 0 <0x77f44000>
02 02/09/21 13:30:29.009 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x77f44000>
02 02/09/21 13:30:29.010 UserData::TempLogFileSystemFailure 610 res:1
-rw-r--r-- 1 root root 504 Dec 20 2017 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 47229 Feb 9 13:30 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 47216 Feb 9 13:30 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 47244 Feb 9 13:25 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 47232 Feb 9 13:25 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 46987 Feb 9 13:21 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 46975 Feb 9 13:21 /etc/cmh/user_data.json.lzo.5
<0x77f44000>
03 02/09/21 13:30:29.516 LuaUPNP: ending <0x77f44000>
2021-02-09 13:30:29 - LuaUPnP Terminated with Exit Code: 0
I’ve no idea if this is normal or not?
JobHandler_LuaUPnP::Reload: dr_reload Critical 1 m_bCriticalOnly 0 dirty data 1 running 1 <0x6faea520>
Dirty data, maybe I am setting the parameter incorrectly which is quite possible.
That’s normal when you change parameters. I’ve since the latest versions transitioned to sending them with SendData and I prefer it, since I can change params without reloads.
I don’t know why it’s not working then, I cant set any parameters on this Z-Wave device.
Is automatically configure set to on? It will not work otherwise.
Automatically Configure is set to Use Default Behaviour which is Yes I believe.
Maybe I’m not understanding the values.
I’ve tried 2 byte Hex with a value of 0, 00 and 0000
Think I’ll try and construct a Send data Lua command and try that instead.
0 should be OK.
Does this Send data command look OK to you ?
Node = 115
Parameter = 33
Byte = 2
Value = 0
luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node=115, Data="x70 4 33 2 0"}, 1)
Not sure what x70 and 4 are however.
From this example on the Wiki here.
EDIT:
Patrick explains it here.
The x70 (hex 70 = decimal 112) is the command class (configuration)
The 4 that follows is the command (set, decimal 4)
If you have 2
for the size, then you need two values to follow. Perhaps: x70 4 33 2 0 0
OK I will try that also.
This is what I see in the log after running the LUA command above with just one zero.
JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:HomeAutomationGateway1 action: RunLua <0x6c8fe520>
08 02/09/21 20:10:55.856 JobHandler_LuaUPnP::HandleActionRequest argument id=lu_action <0x6c8fe520>
08 02/09/21 20:10:55.856 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1 <0x6c8fe520>
08 02/09/21 20:10:55.856 JobHandler_LuaUPnP::HandleActionRequest argument action=RunLua <0x6c8fe520>
08 02/09/21 20:10:55.857 JobHandler_LuaUPnP::HandleActionRequest argument Code=luup.call_action("urn:micasaverde-com:serviceId:ZWaveNetwork1", "SendData", {Node=115, Data="x70 4 33 2 0"}, 1) <0x6c8fe520>
08 02/09/21 20:10:55.857 JobHandler_LuaUPnP::HandleActionRequest device: 1 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 action: SendData <0x6c8fe520>
08 02/09/21 20:10:55.857 JobHandler_LuaUPnP::HandleActionRequest argument Node=115 <0x6c8fe520>
08 02/09/21 20:10:55.857 JobHandler_LuaUPnP::HandleActionRequest argument Data=x70 4 33 2 0 <0x6c8fe520>
How do you tell if it worked?
Setting parameters in this way does not make them appear in “Device Options” in the GUI.
Also see this in the log, it says Success.
<Job ID="2496" Name="childcmd node 115" Device="604" Created="2021-02-09 20:10:55" Started="2021-02-09 20:10:55" Completed="2021-02-09 20:10:56" Duration="0.435271000" Runtime="0.433987000" Status="Successful" LastNote="SUCCESS! Transmit was OK" Node="115" NodeType="ZWaveWindowCovering" NodeDescription="Masterbed Curtains"/> <0x76654520>
Also is it possible to read the currently set parameter values with LUA code and have them outputted?
Thanks
I’ve run the command with both
Data=“x70 4 33 2 0 0”
and
Data=“x70 4 8 2 0 0”
Both say Success in the log. However they can’t both be successful.
I don’t know which model number of motor I have, so its one or the other.
So not sure these parameters are actually being set at all.
Try to set a param that is supposed to have some effect.
I’m also running a zway as secondary and it’s easier to see devices this way. I bought if refurbished from Amazon for 9 eur license included.
Wow that was cheap, USB stick or Raspberry Pi board ?
I’ll be very lucky to find one that cheap.
USB stick.
It’s challenging, because Vera really only reports if the data was sent successfully. What the device does with it is another matter. I would double and triple check the most obvious things, like the node number, and try to find a second source for the documentation to confirm that what you’re reading is current and not errata.
Also when you post logs from your actions, post some lines after. You’re showing the action being logged, but nothing after, so nobody could know if your action somehow generated a message that would give a clue.
The configuration settings on the display require an explicit reconfiguration of the device, because that’s the only time configuration parameters are set or read by Luup, normally. This is generally done by a Luup reload (restarting the ZWave process), but can also be done directly against the device (my experience says this more often fails). After that, hard-refresh of your browser because the UI will get out of sync with the device data and show you invalid garbage if you go looking. After the reload/reconfigure and hard refresh, then you can go the Device Options tab and see values. I would actually do that Reload/flush/view process twice before jumping to any conclusions. In any case, any expectation that those values are continuously and dynamically updated is going to disappoint, so don’t fall into that trap.
EDIT: I found some additional documentation in a Google search. The page is gone, but I was able to retrieve Google’s cached version of the page that gives this OpenHAB configuration data for the device:
<Configuration>
<Parameter>
<Index>17</Index>
<Label lang="en">Motor Open, Go to Direction B</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>4294967295</Maximum>
<WriteOnly>true</WriteOnly>
<Size>4</Size>
<Help><![CDATA[Motor Open, Go to Direction B
<p>Set only, any value possible</p>
]]></Help>
</Parameter>
<Parameter>
<Index>18</Index>
<Label lang="en">Motor Stop</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>4294967295</Maximum>
<WriteOnly>true</WriteOnly>
<Size>4</Size>
<Help><![CDATA[Motor Stop
]]></Help>
</Parameter>
<Parameter>
<Index>19</Index>
<Label lang="en">Motor Close, Go to Direction A</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>4294967295</Maximum>
<WriteOnly>true</WriteOnly>
<Size>4</Size>
<Help><![CDATA[Motor Close, Go to Direction A
]]></Help>
</Parameter>
<Parameter>
<Index>20</Index>
<Label lang="en">Motor Position</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>99</Maximum>
<ReadOnly>true</ReadOnly>
<Size>2</Size>
<Help><![CDATA[Return motor current position
]]></Help>
</Parameter>
<Parameter>
<Index>22</Index>
<Label lang="en">Motor revert direction</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>4294967295</Maximum>
<WriteOnly>true</WriteOnly>
<Size>4</Size>
<Help><![CDATA[Motor revert direction
]]></Help>
</Parameter>
<Parameter>
<Index>23</Index>
<Label lang="en">Clear motor lead tail endpoint setting</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>255</Maximum>
<WriteOnly>true</WriteOnly>
<Size>1</Size>
<Help><![CDATA[Clear motor lead tail endpoint setting
]]></Help>
</Parameter>
<Parameter>
<Index>32</Index>
<Label lang="en">Return motor status flag</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>255</Maximum>
<ReadOnly>true</ReadOnly>
<Size>1</Size>
<Help><![CDATA[Return motor status flag
<table><tr><td>0</td> <td> -> </td> <td>motor is closing, go to direction A</td> </tr><tr><td>1</td> <td> -> </td> <td>motor is opening, go to direction B</td> </tr><tr><td>2</td> <td> -> </td> <td>motor endpoint A has setting</td> </tr><tr><td>3</td> <td> -> </td> <td>motor endpoint B has setting</td> </tr><tr><td>4</td> <td> -> </td> <td>(Reserved)</td> </tr><tr><td>5</td> <td> -> </td> <td>(Reserved)</td> </tr><tr><td>6</td> <td> -> </td> <td>(Reserved)</td> </tr><tr><td>7</td> <td> -> </td> <td>direction revert</td> </tr></table>
]]></Help>
</Parameter>
<Parameter>
<Index>33</Index>
<Label lang="en">Enable manual pulling function</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>4294967295</Maximum>
<WriteOnly>true</WriteOnly>
<Size>4</Size>
<Help><![CDATA[Enable manual pulling function
]]></Help>
</Parameter>
<Parameter>
<Index>34</Index>
<Label lang="en">Disable manual pulling function</Label>
<Type>short</Type>
<Default>0</Default>
<Minimum>0</Minimum>
<Maximum>4294967295</Maximum>
<WriteOnly>true</WriteOnly>
<Size>4</Size>
<Help><![CDATA[Disable manual pulling function
]]></Help>
</Parameter>
</Configuration>
I’m not at all familiar with the semantics of this part of OpenHAB, but using my “old engineer’s eye” it looks to me like parameter 33 is actually a 4-byte value (note the Size
tag, and the Maximum
value is consistent with a 32-bit/4-byte unsigned integer). Maybe try x70 4 33 4 0 0 0 0
. Also note the WriteOnly
tag, which may explain why you can’t see any of your values.
Patrick
Many thanks for the information especially the OpenHAB device information and that it maybe 4 bytes not 2 bytes and “WriteOnly”.
So that as you say, may explain why I cannot Monitor the parameter values in the UI7 GUI “Device Options” area.
I will try setting it again with 4 bytes.
Finding accurate information on this particular Z-Wave motor is proving to be difficult.
I emailed who I think is the manufacturer but never got a reply. And Google searches online bring back limited and conflicting information.
This is what I see in the log when attempting to set the parameter via the GUI in Device Options.
luvd_get_info_data_request starting /data_request?id=lu_variableset&DeviceNum=604&serviceId=urn%3Amicasaverde-com%3AserviceId%3AZWaveDevice1&Variable=VariablesSet&Value=33%2C4h%2C0000&rand=0.7309977393605811 pMem 0x32f7000/53440512 diff: 36655104 <0x6c840520>
06 02/10/21 14:19:18.182 Device_Variable::m_szValue_set device: 604 service: urn:micasaverde-com:serviceId:ZWaveDevice1 variable: VariablesSet was: 1,m, now: 33,4h,0000 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x6c840520>
12 02/10/21 14:19:18.206 luvd_get_info_data_request starting /data_request?id=lu_reload&rand=0.18782864098614027&source=devset3 pMem 0x32f7000/53440512 diff: 36655104 <0x6dc84520>
12 02/10/21 14:19:18.239 luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1612966708&DataVersion=966708531&Timeout=40&MinimumDelay=0 pMem 0x32f7000/53440512 diff: 36655104 <0x6d382520>
03 02/10/21 14:19:18.459 JobHandler_LuaUPnP::Reload: dr_reload Critical 1 m_bCriticalOnly 0 dirty data 1 running 1 <0x6dc84520>
12 02/10/21 14:19:18.474 luvd_get_info_data_request starting /data_request?id=lu_status2&output_format=json&Timeout=60&DataVersion=966708528 pMem 0x32f7000/53440512 diff: 36655104 <0x6c840520>
12 02/10/21 14:19:18.535 luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1612966708&DataVersion=966708532&Timeout=40&MinimumDelay=0 pMem 0x32f7000/53440512 diff: 36655104 <0x6cd82520>
12 02/10/21 14:19:18.561 luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1612966708&DataVersion=966708532&Timeout=40&MinimumDelay=0 pMem 0x32f7000/53440512 diff: 36655104 <0x6d382520>
12 02/10/21 14:19:18.564 luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1612966708&DataVersion=966708532&Timeout=40&MinimumDelay=0 pMem 0x32f7000/53440512 diff: 36655104 <0x6d182520>
12 02/10/21 14:19:18.565 luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1612966708&DataVersion=966708532&Timeout=40&MinimumDelay=0 pMem 0x32f7000/53440512 diff: 36655104 <0x6ca40520>
12 02/10/21 14:19:18.573 luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1612966708&DataVersion=966708532&Timeout=40&MinimumDelay=0 pMem 0x32f7000/53440512 diff: 36655104 <0x6cf82520>
12 02/10/21 14:19:18.579 luvd_get_info_data_request starting /data_request?id=status2&LoadTime=1612966708&DataVersion=966708532&Timeout=40&MinimumDelay=0 pMem 0x32f7000/53440512 diff: 36655104 <0x6da84520>
02 02/10/21 14:19:19.036 UserData::CommitToDatabase data size 1104149 1104149 <0x6dc84520>
01 02/10/21 14:19:19.241 UserData::WriteUserData saved--before move File Size: 220851 save size 220851 <0x6dc84520>
02 02/10/21 14:19:19.241 UserData::TempLogFileSystemFailure start 0 <0x6dc84520>
02 02/10/21 14:19:19.269 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x6dc84520>
02 02/10/21 14:19:19.270 UserData::TempLogFileSystemFailure 699 res:1
-rw-r--r-- 1 root root 504 Aug 14 2015 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 220909 Feb 10 14:18 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 220880 Feb 10 14:18 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 221120 Feb 10 14:16 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 221122 Feb 10 14:16 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 220955 Feb 10 14:16 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 221055 Feb 10 14:13 /etc/cmh/user_data.json.lzo.5
-rw-r--r-- 1 root root 220851 Feb 10 14:19 /etc/cmh/user_data.json.lzo.new
<0x6dc84520>
02 02/10/21 14:19:19.367 UserData::TempLogFileSystemFailure start 0 <0x6dc84520>
02 02/10/21 14:19:19.393 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x6dc84520>
02 02/10/21 14:19:19.393 UserData::TempLogFileSystemFailure 610 res:1
-rw-r--r-- 1 root root 504 Aug 14 2015 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 220851 Feb 10 14:19 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 220909 Feb 10 14:18 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 220880 Feb 10 14:18 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 221120 Feb 10 14:16 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 221122 Feb 10 14:16 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 220955 Feb 10 14:16 /etc/cmh/user_data.json.lzo.5
<0x6dc84520>
06 02/10/21 14:19:19.394 Device_Variable::m_szValue_set device: 1 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: NetStatusID was: 1 now: 2 #hooks: 0 upnp: 0 skip: 0 v:0x1384270/NONE duplicate:0 <0x6dc84520>
06 02/10/21 14:19:19.395 Device_Variable::m_szValue_set device: 1 service: urn:micasaverde-com:serviceId:ZWaveNetwork1 variable: NetStatusText was: OK now: Resetting ZWave Network #hooks: 0 upnp: 0 skip: 0 v:0x19c8d48/NONE duplicate:0 <0x6dc84520>
06 02/10/21 14:19:19.396 Device_Variable::m_szValue_set device: 244 service: urn:micasaverde-com:serviceId:ZigbeeNetwork1 variable: NetStatusID was: 0 now: 3 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x6dc84520>
06 02/10/21 14:19:19.397 Device_Variable::m_szValue_set device: 244 service: urn:micasaverde-com:serviceId:ZigbeeNetwork1 variable: NetStatusText was: OK now: GET_LANG(resetting_zigbee_network,Resetting Zigbee Network) #hooks: 0 upnp: 0 skip: 0 v:0x1798200/NONE duplicate:0 <0x6dc84520>
01 02/10/21 14:19:20.224 LuaInterface::CallFunction_Timer device 38 refreshCache took 10 seconds <0x75bb4520>
01 02/10/21 14:19:20.244 LuaInterface::CallFunction_Timer device 39 refreshCache took 10 seconds <0x759b4520>
01 02/10/21 14:19:20.263 LuaInterface::CallFunction_Timer device 40 refreshCache took 10 seconds <0x757b4520>
02 02/10/21 14:19:21.110 UserData::CommitToDatabase data size 1104227 1104227 <0x77867320>
01 02/10/21 14:19:21.502 UserData::WriteUserData saved--before move File Size: 220877 save size 220877 <0x77867320>
02 02/10/21 14:19:21.503 UserData::TempLogFileSystemFailure start 0 <0x77867320>
02 02/10/21 14:19:21.527 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x77867320>
02 02/10/21 14:19:21.528 UserData::TempLogFileSystemFailure 699 res:1
-rw-r--r-- 1 root root 504 Aug 14 2015 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 220851 Feb 10 14:19 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 220909 Feb 10 14:18 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 220880 Feb 10 14:18 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 221120 Feb 10 14:16 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 221122 Feb 10 14:16 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 220955 Feb 10 14:16 /etc/cmh/user_data.json.lzo.5
-rw-r--r-- 1 root root 220877 Feb 10 14:19 /etc/cmh/user_data.json.lzo.new
<0x77867320>
02 02/10/21 14:19:21.623 UserData::TempLogFileSystemFailure start 0 <0x77867320>
02 02/10/21 14:19:21.648 UserData::TempLogFileSystemFailure (not failure, only WriteUserData) 0 <0x77867320>
02 02/10/21 14:19:21.649 UserData::TempLogFileSystemFailure 610 res:1
-rw-r--r-- 1 root root 504 Aug 14 2015 /etc/cmh/user_data.json.luup.lzo
-rw-r--r-- 1 root root 220877 Feb 10 14:19 /etc/cmh/user_data.json.lzo
-rw-r--r-- 1 root root 220851 Feb 10 14:19 /etc/cmh/user_data.json.lzo.1
-rw-r--r-- 1 root root 220909 Feb 10 14:18 /etc/cmh/user_data.json.lzo.2
-rw-r--r-- 1 root root 220880 Feb 10 14:18 /etc/cmh/user_data.json.lzo.3
-rw-r--r-- 1 root root 221120 Feb 10 14:16 /etc/cmh/user_data.json.lzo.4
-rw-r--r-- 1 root root 221122 Feb 10 14:16 /etc/cmh/user_data.json.lzo.5
<0x77867320>
01 02/10/21 14:19:21.650 Mongoose XXX-mg_stop1 0x1610490 1 8 <0x77867320>
01 02/10/21 14:19:23.651 Mongoose XXX-mg_stop2 0x1610490 2 8 <0x77867320>
01 02/10/21 14:19:23.652 Mongoose XXX-mg_stop3 0x1610490 2 8 <0x77867320>
01 02/10/21 14:19:23.652 Mongoose XXX-mg_stop4 0x1610490 49204424 8 <0x77867320>
06 02/10/21 14:19:23.670 Device_Variable::m_szValue_set device: 244 service: urn:micasaverde-com:serviceId:ZigbeeDevice1 variable: PendingRemoveDevices was: 00158d000411965b-9727 now: 00158d000411965b-9727 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x77867320>
06 02/10/21 14:19:23.675 Device_Variable::m_szValue_set device: 244 service: urn:micasaverde-com:serviceId:ZigbeeDevice1 variable: UnknownDevices was: now: #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:1 <0x77867320>
03 02/10/21 14:19:24.052 LuaUPNP: ending <0x77867320>
2021-02-10 14:19:24 - LuaUPnP Terminated with Exit Code: 0
I will try next with the LUA code command.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules