SmartThings Community

Connection to Domoticz defined devices like Blinds and On/Off switches

somfy
x10
rgbw
project_shades

(Martin Verbeek) #544

could you update the app one more time from repo? i added some debug messages, does not go wrong at home.

you did not change anything on the Domoticz side?, as it looks if it does not give anything back on the request…


(Martin Verbeek) #545

I have the program running now at home, it detects the bluetooth devices when scanned, but it only remembers these devices when not rebooted the rpi3. rest of the program does what it needs to do. But i need some time to find out why it does not remember the devices…


(Peke) #546

Logs
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:53 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=2, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:52 PM: trace 2 state Devices : [1, 2]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:52 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:52 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:52 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:52 PM: debug getChildDevices(true), children=2
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:52 PM: trace [updateDeviceList]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:50 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:31 PM: error [callbackForSettings response: ] null
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:31 PM: error [callbackForSettings evt.error: ] null
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:31 PM: error [callbackForSettings evt.status: ] 401
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:31 PM: error [callbackForSettings evt: ] physicalgraph.device.HubResponse(index:4F, mac:B827EB10D6DA, ip:C0A80110, port:1F90, requestId:6724c173-ef50-4393-b116-91b3202b9ab1, hubId:ee1ea5a1-2f5a-4f2a-b6ee-b1b75dec8763, callback:callbackForSettings)
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:31 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:31 PM: trace [setupMenu]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:29 PM: error [callbackForSettings response: ] null
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:29 PM: error [callbackForSettings evt.error: ] null
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:29 PM: error [callbackForSettings evt.status: ] 401
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:29 PM: error [callbackForSettings evt: ] physicalgraph.device.HubResponse(index:4D, mac:B827EB10D6DA, ip:C0A80110, port:1F90, requestId:8d7bde91-9a5f-479d-9fe1-006497f034bd, hubId:ee1ea5a1-2f5a-4f2a-b6ee-b1b75dec8763, callback:callbackForSettings)
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: error [callbackLog] null
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: error [callbackLog] physicalgraph.device.HubResponse(index:4E, mac:B827EB10D6DA, ip:C0A80110, port:1F90, requestId:d806b437-7b59-4203-8233-2c03505560c9, hubId:ee1ea5a1-2f5a-4f2a-b6ee-b1b75dec8763, callback:callbackLog)
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: trace 2 state Devices : [1, 2]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: debug getChildDevices(true), children=2
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: trace [updateDeviceList]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:27 PM: trace [notifyNewVersion] on GitHub 7.03 running 7.04
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:26 PM: trace [Initialize] Domoticz Server. Version 7.04. Copyright © 2018 Martin Verbeek
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:26 PM: trace [updated]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:23 PM: trace 2 state Devices : [1, 2]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:23 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:23 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:23 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:23 PM: debug getChildDevices(true), children=2
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:23 PM: trace [updateDeviceList]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:22 PM: error [callbackForSettings response: ] null
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:22 PM: error [callbackForSettings evt.error: ] null
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:21 PM: error [callbackForSettings evt.status: ] 401
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:21 PM: error [callbackForSettings evt: ] physicalgraph.device.HubResponse(index:4B, mac:B827EB10D6DA, ip:C0A80110, port:1F90, requestId:31de47b5-3177-4d65-b8fe-4152e45a154c, hubId:ee1ea5a1-2f5a-4f2a-b6ee-b1b75dec8763, callback:callbackForSettings)
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:21 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:21 PM: trace [setupMenu]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:18 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=2, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:18 PM: info smartapp_pause called by smartAppName=Domoticz Server, value=5, smartAppVersionId=61438df9-2ac4-46cf-85dc-5e3c6ab10f8d
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:18 PM: trace [setupListDevices]
ea23c631-877c-4541-95de-fc8ca69d4277 7:53:16 PM: error [callbackForSettings response: ] null


(Martin Verbeek) #547

The RFXCOM actually sends a enable or disable Sun+Wind to the screens. I could add this as a switch capability.


(Martin Verbeek) #548

error 401, that is authorization…is the local network whitelisted in Domoticz (see wiki)? something like 192.168.1.* in the DZ settings under Local Networks…


(Peke) #549

Oh **** got it working again, missed the dot after the ip whitelist, but it doesnt see all of Mi flora (conductivity/moisture).
Is it possible that you add those.
Btw keep up the good work, really like it.


(Martin Verbeek) #550

What does it see?
Could you issue 192.168.1.16:8080/json.htm?type=devices&rid=IDX to the sensors you do not see in DZ?? and PM me the contents?


(Daniel Consuegra) #551

I was thinking… considering your app already takes into consideration the Sun position and current weather conditions… what’s the real benefit of using the soliris? lol!


(Peke) #552

PM sent your way


(Martin Verbeek) #553

App has been updated to 7.05, this now gives you the capability to add two custom sensors to a temperature sensor base in “create composite devices”. Currently the values are only refreshed after hittng refresh in the device, as these type=general devices in domoticz do not have notifications.

Update smartapp, update DTH domoticzSensor and add the new domoticzSensor Custom Sensor from repo.


(Huongminh) #554

Hi there,

I tried to setup domoticz server and found it in My Apps section of Smarthings iOS app. However, I could not see any devices from domoticz after I followed the instructions in the wiki. It seemed the connection betweeen Domoticz and Smartthings was successful since every time I got my domoticz off line I would see a message from smarthings saying : domoticz server is not responding and when my domoticz was back on I got the message domoticz server is responding again. However, I could not see any devices setup in domoticz (switches, hum&temp sensors…) that should show up in smartthing app. Please help!


(Martin Verbeek) #555

Hello, can you see any error messages appearing in the IDE live log?


(Martin Verbeek) #556

I just committed an updated version, that supposed to be faster with getting devices and updates from Domoticz. In the old version it can take some time. Please update repo for both Smart Apps and DTHs


(Huongminh) #557

Not really. Please see the screenshot I captured when I try to set up Domoticz server in my smart app again.


(Martin Verbeek) #558

Could you update to the latest I committed today?


(Huongminh) #559

HI Martin,

I updated to version 7.10. Still no device found in the smart app or live log (I have contact sensors, motion sensors, lights and switches and scenes setup in domoticz). But I notice in the live log, it found all my 13 scenes in domotcz (I set scenes included) but with error message (it might be the reason why the scenes did not show up in my smarttthing app). Please see attached screenshot.


(Martin Verbeek) #560

Apart from the smart app did you also include all device handlers from github?

One other question, did you select to limit the number of devices by selecting a room in the setup?


(Huongminh) #561

Oops! I had not before. Now I did it and got 26 deviced handlers installed and published. Then I deleted and added domoticz server again in My App on my iOS. But still no device found. Now the domoticz scenes are not seen in the live log anymore. Please have a look at my screenshots.


(Martin Verbeek) #562

It can take about 5 minutes to see devices popping up…


(Huongminh) #563

Not my case. I tried many times deleting and re-add domoticz-server in My App. Still the log found no device as in the screenshot. Smartthings find my hue lights well. Btw I am running Domoticz version: 3.8153. Any advice? Thank you!