jjtbsomhorst / eu.jeroensomhorst.domoticz

GNU General Public License v3.0
3 stars 5 forks source link

Device list does not show all devices on large networks #4

Closed jjtbsomhorst closed 5 years ago

jjtbsomhorst commented 5 years ago

Possibly due to an issue in the 2.0 app of homey. The default add devices list view does not show all devices found. Reported by @eddiex666.

jjtbsomhorst commented 5 years ago

@eddiex666 could you test the current beta version. (it is still 0.1.0 but I changed some stuff in the code)

eddiex666 commented 5 years ago

its only 5 temp sensors in the list :-( (I downloaded the Beta again and did a install on the homey.)

eddiex666 commented 5 years ago

on the config i do a save on the hostname, port, username etc. then refresh on the log. i see...

2019-2-4 20:xx:xx: No device configure yet. SKIP and more

eddiex666 commented 5 years ago

i can see 6 devices from Domoticz.

32 RFXCOM 32947F6 16 Spisestue tak Lighting 2 AC On
34 RFXCOM 0DA495E 1 Ringeklokke1 Lighting 2 AC On 6 -   2019-02-01 18:18:51

262 | RFLink | 00DA495E | 0 | Ringeklokke2 | Light/Switch | AC | On

250 RFLink 00A4 164 Renkforce E_TA_1 Temp LaCrosse TX3 11.2 C
529 RFLink 00AA 170 Alecto V5_1 Temp LaCrosse TX3 19.8 C
311 RFLink 0000 0 Firstline_1 Temp LaCrosse TX3 0.0 C
example på what i dont see: 530 RFLink 00AA 0 Alecto V5 TFA Rain TFA 0 - Low   2019-01-14 15:00:22
  2396 RFLink 00FF 0 Alecto V5 Rain TFA 0 - Low   2018-08-18 05:28:06
  2395 RFLink 00FF 255 Alecto V5 Temp LaCrosse TX3 -5.9 C - Low   2018-08-18 05:28:05
  2558 RFLink 0096 150 Alecto V5 Temp LaCrosse TX3 -14.3 C - Low   2018-05-16 06:42:29
  2559 RFLink 0096 0 Alecto V5 Rain TFA 0 - Low   2018-05-16 06:42:29
  2340 RFLink 00EA 234 Alecto V5 Temp LaCrosse TX3 -5.8 C
eddiex666 commented 5 years ago

if i should add a requests... use this json link. /json.htm?type=devices&filter=all&used=true&order=Name

it will only fetch the devices that are "added" inside Domoticz.. and not all 6000 devices :-)

jjtbsomhorst commented 5 years ago

The URL in using is /json.htm?type=devices &used=true. That should give the same result.

Somewhere in the log you should see something like "Could not determine device class or capabilities for device". Can you tell me if that if its there somewhere ? I guess that this is there for the devices you don't see yet.

Also you can run an app using cli instead of installing it directly. If you do that you can see al there is going on on the console.

eddiex666 commented 5 years ago

i get 6-7 of this yes.. :-)

2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: sensor 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: Could not determine device class or capabilities for device 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":100,"CustomImage":0,"Data":"14.0 C, 96 %","Description":"","DewPoint":"13.37","Favorite":0,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":true,"Humidity":96,"HumidityStatus":"Wet","ID":"0001","LastUpdate":"2018-06-17 16:48:55","Name":"UPM_Esic WTGR800 2","Notifications":"false","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":14,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"3006"} 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: Get capabilities for device 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: 6725 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: Capabilities found: 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: [] 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: [] 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: sensor 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: Could not determine device class or capabilities for device 2019-02-05 07:51:58 [log] [DomoticzApp] 2019-2-5 07:51:58: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":255,"CustomImage":0,"Data":"8.4 Watt","Description":"","Favorite":1,"HardwareID":4,"HardwareName":"Efergy","HardwareType":"Dummy (Does nothing, use for virtual switches only)","HardwareTypeVal":15,"HaveTimeout":false,"ID":"88725","LastUpdate":"2019-02-05 07:51:51","Name":"GS13","Notifications":"true","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"Electric","Timers":"false","Type":"Usage","TypeImg":"current","Unit":1,"Used":1,"XOffset":"0","YOffset":"0","idx":"6725"}

eddiex666 commented 5 years ago

the first in pre. post is a RF433 temp sensor, received by RFLink

the second is a virtual device, updated manually (thru python)

6725 Efergy 88725 1 GS13 Usage Electric 9.24 Watt
jjtbsomhorst commented 5 years ago

can you specificy which devices you don't see at the moment. Preferbly by adding the output from console in here. As far as I can see the json you gave me contains 20 used devices and you only see 5 or 6 of them now. So to be clear. Please specificy which devices from the json you miss. This way I can see if I can support them.

eddiex666 commented 5 years ago

jepps. i have 21 devices in use i can see 6 inside the app.

i attached the picture of what shows and not. devices-inn-app

jjtbsomhorst commented 5 years ago

I just updated the beta branch again. Can you run the app from the console and see if more devices show up?

eddiex666 commented 5 years ago

✓ Pre-processing app... ✓ Validating app... ✓ Homey App validated successfully against level debug ✓ Packing Homey App... — App size: 162.5 KB ✓ Installing Homey App on Homey GS13 (https://10-0-0-158.homey.homeylocal.com)... ✓ Homey App eu.jeroensomhorst.domoticz successfully installed ✓ Running eu.jeroensomhorst.domoticz, press CTRL+C to quit — Profile your app's performance at https://go.athom.com/app-profiling?homey=5bc9bde8014f5c6eb625794b&app=eu.jeroensomhorst.domoticz ─────────────── Logging stdout & stderr ─────────────── 2019-02-06 22:06:05 [log] [DomoticzApp] 2019-2-6 22:06:05: Domoticz app started 2019-02-06 22:06:05 [log] [DomoticzApp] 2019-2-6 22:06:05: Initialize driver 2019-02-06 22:06:06 [log] [DomoticzApp] 2019-2-6 22:06:06: Retrieve devices 2019-02-06 22:06:06 [log] [DomoticzApp] 2019-2-6 22:06:06: No devices configured yet. Skip 2019-02-06 22:06:08 [log] [DomoticzApp] 2019-2-6 22:06:08: Retrieve devices 2019-02-06 22:06:08 [log] [DomoticzApp] 2019-2-6 22:06:08: No devices configured yet. Skip 2019-02-06 22:06:09 [log] [DomoticzApp] 2019-2-6 22:06:09: Retrieve devices 2019-02-06 22:06:09 [log] [DomoticzApp] 2019-2-6 22:06:09: No devices configured yet. Skip 2019-02-06 22:06:10 [log] [DomoticzApp] 2019-2-6 22:06:10: Retrieve devices 2019-02-06 22:06:10 [log] [DomoticzApp] 2019-2-6 22:06:10: No devices configured yet. Skip 2019-02-06 22:06:11 [log] [DomoticzApp] 2019-2-6 22:06:11: Retrieve devices 2019-02-06 22:06:11 [log] [DomoticzApp] 2019-2-6 22:06:11: No devices configured yet. Skip 2019-02-06 22:06:12 [log] [DomoticzApp] 2019-2-6 22:06:12: Retrieve devices 2019-02-06 22:06:12 [log] [DomoticzApp] 2019-2-6 22:06:12: No devices configured yet. Skip 2019-02-06 22:06:13 [log] [DomoticzApp] 2019-2-6 22:06:13: Retrieve devices 2019-02-06 22:06:13 [log] [DomoticzApp] 2019-2-6 22:06:13: No devices configured yet. Skip 2019-02-06 22:06:14 [log] [DomoticzApp] 2019-2-6 22:06:14: Retrieve devices 2019-02-06 22:06:14 [log] [DomoticzApp] 2019-2-6 22:06:14: No devices configured yet. Skip 2019-02-06 22:06:15 [log] [DomoticzApp] 2019-2-6 22:06:15: Retrieve devices 2019-02-06 22:06:15 [log] [DomoticzApp] 2019-2-6 22:06:15: No devices configured yet. Skip 2019-02-06 22:06:16 [log] [DomoticzApp] 2019-2-6 22:06:16: Retrieve devices 2019-02-06 22:06:16 [log] [DomoticzApp] 2019-2-6 22:06:16: No devices configured yet. Skip 2019-02-06 22:06:17 [log] [DomoticzApp] 2019-2-6 22:06:17: Retrieve devices 2019-02-06 22:06:17 [log] [DomoticzApp] 2019-2-6 22:06:17: No devices configured yet. Skip 2019-02-06 22:06:18 [log] [DomoticzApp] 2019-2-6 22:06:18: Retrieve devices 2019-02-06 22:06:18 [log] [DomoticzApp] 2019-2-6 22:06:18: No devices configured yet. Skip 2019-02-06 22:06:19 [log] [DomoticzApp] 2019-2-6 22:06:19: Retrieve devices 2019-02-06 22:06:19 [log] [DomoticzApp] 2019-2-6 22:06:19: No devices configured yet. Skip 2019-02-06 22:06:20 [log] [DomoticzApp] 2019-2-6 22:06:20: Retrieve devices 2019-02-06 22:06:20 [log] [DomoticzApp] 2019-2-6 22:06:20: No devices configured yet. Skip 2019-02-06 22:06:21 [log] [DomoticzApp] 2019-2-6 22:06:21: Retrieve devices 2019-02-06 22:06:21 [log] [DomoticzApp] 2019-2-6 22:06:21: No devices configured yet. Skip 2019-02-06 22:06:22 [log] [DomoticzApp] 2019-2-6 22:06:22: Retrieve devices 2019-02-06 22:06:22 [log] [DomoticzApp] 2019-2-6 22:06:22: No devices configured yet. Skip 2019-02-06 22:06:23 [log] [DomoticzApp] 2019-2-6 22:06:23: Retrieve devices 2019-02-06 22:06:23 [log] [DomoticzApp] 2019-2-6 22:06:23: No devices configured yet. Skip 2019-02-06 22:06:24 [log] [DomoticzApp] 2019-2-6 22:06:24: Retrieve devices 2019-02-06 22:06:24 [log] [DomoticzApp] 2019-2-6 22:06:24: No devices configured yet. Skip 2019-02-06 22:06:25 [log] [DomoticzApp] 2019-2-6 22:06:25: Start pairing. Retrieve connect settings 2019-02-06 22:06:25 [log] [DomoticzApp] 2019-2-6 22:06:25: Retrieve current settings from Homey store 2019-02-06 22:06:25 [log] [DomoticzApp] 2019-2-6 22:06:25: Retrieve devices 2019-02-06 22:06:25 [log] [DomoticzApp] 2019-2-6 22:06:25: No devices configured yet. Skip 2019-02-06 22:06:26 [log] [DomoticzApp] 2019-2-6 22:06:26: Retrieve devices 2019-02-06 22:06:26 [log] [DomoticzApp] 2019-2-6 22:06:26: No devices configured yet. Skip 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: List new devices 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: On pair list devices 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Retrieve devices 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: No devices configured yet. Skip 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 2 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Could not determine device class or capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":0,"CustomImage":0,"Data":"14.6 C, 33 %","Description":"","DewPoint":"-1.51","Favorite":0,"HardwareID":2,"HardwareName":"RFXCOM","HardwareType":"RFXCOM - RFXtrx433 USB 433.92MHz Transceiver","HardwareTypeVal":1,"HaveTimeout":true,"Humidity":33,"HumidityStatus":"Dry","ID":"F402","LastUpdate":"2019-01-19 22:28:04","Name":"Rfxcom_1","Notifications":"false","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":5,"SubType":"THGN122/123/132, THGR122/228/238/268","Temp":14.6,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":2,"Used":1,"XOffset":"0","YOffset":"0","idx":"2"} 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 32 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: ["onoff","onoff"] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: ["onoff","onoff"] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 34 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: ["onoff","onoff"] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: ["onoff","onoff"] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 218 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Could not determine device class or capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":0,"CustomImage":0,"Data":"20.8 C, 22 %","Description":"","DewPoint":"-1.71","Favorite":1,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":false,"Humidity":22,"HumidityStatus":"Dry","ID":"0008","LastUpdate":"2019-02-06 22:06:48","Name":"UPM_Esic_4","Notifications":"true","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":20.8,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"218"} 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 214 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Could not determine device class or capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":0,"CustomImage":0,"Data":"21.7 C, 24 %","Description":"","DewPoint":"0.24","Favorite":1,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":false,"Humidity":24,"HumidityStatus":"Dry","ID":"0101","LastUpdate":"2019-02-06 22:06:32","Name":"UPM_Esic_1","Notifications":"true","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":21.7,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"214"} 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 216 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Could not determine device class or capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":0,"CustomImage":0,"Data":"17.5 C, 14 %","Description":"","DewPoint":"-10.33","Favorite":1,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":false,"Humidity":14,"HumidityStatus":"Dry","ID":"0201","LastUpdate":"2019-02-06 22:06:24","Name":"UPM_Esic_3","Notifications":"true","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":17.5,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"216"} 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 213 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Could not determine device class or capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":0,"CustomImage":0,"Data":"12.8 C, 35 %","Description":"","DewPoint":"-2.30","Favorite":0,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":true,"Humidity":35,"HumidityStatus":"Comfortable","ID":"2401","LastUpdate":"2017-12-16 16:17:03","Name":"Xiron_1","Notifications":"false","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":12.8,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"213"} 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 217 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Could not determine device class or capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":0,"CustomImage":0,"Data":"18.0 C, 45 %","Description":"","DewPoint":"5.89","Favorite":0,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":true,"Humidity":45,"HumidityStatus":"Comfortable","ID":"2DF4","LastUpdate":"2018-07-30 08:42:48","Name":"Oregon_1","Notifications":"false","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":18,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"217"} 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 219 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Could not determine device class or capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":0,"CustomImage":0,"Data":"-7.6 C, 65 %","Description":"","DewPoint":"-13.05","Favorite":1,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":true,"Humidity":65,"HumidityStatus":"Wet","ID":"0004","LastUpdate":"2019-02-03 17:15:45","Name":"UPM_Esic_2","Notifications":"true","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":-7.6,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"219"} 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: 233 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Capabilities found: 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: [] 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: sensor 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Could not determine device class or capabilities for device 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":100,"CustomImage":0,"Data":"21.3 C, 58 %","Description":"","DewPoint":"12.70","Favorite":0,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":true,"Humidity":58,"HumidityStatus":"Comfortable","ID":"0301","LastUpdate":"2018-08-20 07:34:36","Name":"UPM_Esic WTGR800","Notifications":"false","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":21.3,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"233"} 2019-02-06 22:06:27 [log] [DomoticzApp] 2019-2-6 22:06:27: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 250 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: ["measure_temperature"] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: ["measure_temperature"] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 262 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: ["onoff","onoff"] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: ["onoff","onoff"] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: light 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 311 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: ["measure_temperature"] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: ["measure_temperature"] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 452 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Could not determine device class or capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":255,"CustomImage":0,"Data":"15.4 V","Description":"","Favorite":0,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":true,"ID":"00000216","LastUpdate":"2018-07-09 18:02:15","Name":"X10Sensor voltage V","Notifications":"false","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"Voltage","Timers":"false","Type":"General","TypeImg":"current","Unit":1,"Used":1,"Voltage":15.4,"XOffset":"0","YOffset":"0","idx":"452"} 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 529 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: ["measure_temperature"] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: ["measure_temperature"] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 530 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Could not determine device class or capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":0,"CustomImage":0,"Data":"0","Description":"","Favorite":0,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":true,"ID":"00AA","LastUpdate":"2019-01-14 15:00:22","Name":"Alecto V5 TFA","Notifications":"false","PlanID":"0","PlanIDs":[0],"Protected":false,"Rain":"0","RainRate":"0","ShowNotifications":true,"SignalLevel":"-","SubType":"TFA","Timers":"false","Type":"Rain","TypeImg":"rain","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"530"} 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 830 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Could not determine device class or capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":255,"CustomImage":0,"Data":"Panic","Description":"","Favorite":1,"HardwareID":2,"HardwareName":"RFXCOM","HardwareType":"RFXCOM - RFXtrx433 USB 433.92MHz Transceiver","HardwareTypeVal":1,"HaveDimmer":false,"HaveGroupCmd":false,"HaveTimeout":false,"ID":"BF4E00","LastUpdate":"2018-05-10 08:31:58","MaxDimLevel":0,"Name":"Røykvarsler2","Notifications":"true","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":4,"Status":"Panic","StrParam1":"","StrParam2":"","SubType":"KD101 smoke detector","SwitchType":"Smoke Detector","SwitchTypeVal":5,"Timers":"false","Type":"Security","TypeImg":"smoke","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"830"} 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 2324 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Could not determine device class or capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":255,"CustomImage":0,"Data":"Panic","Description":"","Favorite":1,"HardwareID":2,"HardwareName":"RFXCOM","HardwareType":"RFXCOM - RFXtrx433 USB 433.92MHz Transceiver","HardwareTypeVal":1,"HaveDimmer":false,"HaveGroupCmd":false,"HaveTimeout":false,"ID":"D84E00","LastUpdate":"2018-04-08 14:26:33","MaxDimLevel":0,"Name":"Røykvarsler1","Notifications":"true","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":5,"Status":"Panic","StrParam1":"","StrParam2":"","SubType":"KD101 smoke detector","SwitchType":"Smoke Detector","SwitchTypeVal":5,"Timers":"false","Type":"Security","TypeImg":"smoke","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"2324"} 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 3006 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Could not determine device class or capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":100,"CustomImage":0,"Data":"14.0 C, 96 %","Description":"","DewPoint":"13.37","Favorite":0,"HardwareID":3,"HardwareName":"RFLink","HardwareType":"RFLink Gateway USB","HardwareTypeVal":46,"HaveTimeout":true,"Humidity":96,"HumidityStatus":"Wet","ID":"0001","LastUpdate":"2018-06-17 16:48:55","Name":"UPM_Esic WTGR800 2","Notifications":"false","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"WTGR800","Temp":14,"Timers":"false","Type":"Temp + Humidity","TypeImg":"temperature","Unit":0,"Used":1,"XOffset":"0","YOffset":"0","idx":"3006"} 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Get capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 6725 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Capabilities found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: [] 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: sensor 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Could not determine device class or capabilities for device 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: {"AddjMulti":1,"AddjMulti2":1,"AddjValue":0,"AddjValue2":0,"BatteryLevel":255,"CustomImage":0,"Data":"9.12 Watt","Description":"","Favorite":1,"HardwareID":4,"HardwareName":"Efergy","HardwareType":"Dummy (Does nothing, use for virtual switches only)","HardwareTypeVal":15,"HaveTimeout":false,"ID":"88725","LastUpdate":"2019-02-06 22:06:45","Name":"GS13","Notifications":"true","PlanID":"0","PlanIDs":[0],"Protected":false,"ShowNotifications":true,"SignalLevel":"-","SubType":"Electric","Timers":"false","Type":"Usage","TypeImg":"current","Unit":1,"Used":1,"XOffset":"0","YOffset":"0","idx":"6725"} 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Devices found: 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: 6 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: Retrieve devices 2019-02-06 22:06:28 [log] [DomoticzApp] 2019-2-6 22:06:28: No devices configured yet. Skip 2019-02-06 22:06:29 [log] [DomoticzApp] 2019-2-6 22:06:29: Retrieve devices 2019-02-06 22:06:29 [log] [DomoticzApp] 2019-2-6 22:06:29: No devices configured yet. Skip 2019-02-06 22:06:30 [log] [DomoticzApp] 2019-2-6 22:06:30: Retrieve devices 2019-02-06 22:06:30 [log] [DomoticzApp] 2019-2-6 22:06:30: No devices configured yet. Skip 2019-02-06 22:06:31 [log] [DomoticzApp] 2019-2-6 22:06:31: Retrieve devices 2019-02-06 22:06:31 [log] [DomoticzApp] 2019-2-6 22:06:31: No devices configured yet. Skip 2019-02-06 22:06:32 [log] [DomoticzApp] 2019-2-6 22:06:32: Retrieve devices 2019-02-06 22:06:33 [log] [DomoticzApp] 2019-2-6 22:06:33: No devices configured yet. Skip 2019-02-06 22:06:34 [log] [DomoticzApp] 2019-2-6 22:06:34: Retrieve devices 2019-02-06 22:06:34 [log] [DomoticzApp] 2019-2-6 22:06:34: No devices configured yet. Skip 2019-02-06 22:06:35 [log] [DomoticzApp] 2019-2-6 22:06:35: Retrieve devices 2019-02-06 22:06:35 [log] [DomoticzApp] 2019-2-6 22:06:35: No devices configured yet. Skip 2019-02-06 22:06:36 [log] [DomoticzApp] 2019-2-6 22:06:36: Retrieve devices 2019-02-06 22:06:36 [log] [DomoticzApp] 2019-2-6 22:06:36: No devices configured yet. Skip ─────────────────────────────────────────────────────── ✓ Uninstalling eu.jeroensomhorst.domoticz... ✓ Homey App eu.jeroensomhorst.domoticz successfully uninstalled

eddiex666 commented 5 years ago

i get the same 6 as before :-)

jjtbsomhorst commented 5 years ago

can you send me the output from the json url without all the unused devices? This way I can test with that here locally to see what is going wrong. :)

eddiex666 commented 5 years ago

Hi, sorry for no reply.. (to mutch work)

I have testet a little... i installed a blank domoticz and added virtual devices (dummy) I added allmost 1 of eatch type...

24 MyDevice 14068 1 TempLatest Temp LaCrosse TX3 0.0 C - -   2019-02-09 20:17:26
  23 MyDevice 00082023 1 Waterflow General Waterflow 0 l/min - -   2019-02-09 20:16:45
  22 MyDevice 82022 1 Visibility General Visibility 10.3 km - -   2019-02-09 20:16:12
  21 MyDevice 00082021 1 Text General Text Hello World - -   2019-02-09 20:15:58
  20 MyDevice 14064 1 Rain Rain TFA 0 - -   2019-02-09 20:15:41
  19 MyDevice 82019 1 Scale Weight BWR102 0 kg - -   2019-02-09 20:15:31
  18 MyDevice 00082018 1 Pressure General Pressure 0.0 Bar - -   2019-02-09 20:15:19
  17 MyDevice 00082017 1 Distance General Distance 123.4 cm - -   2019-02-09 20:14:48
  16 MyDevice 14060 1 Counter RFXMeter RFXMeter counter 0.000 kWh 10 -   2019-02-09 20:14:37
  15 MyDevice 00082015 1 Barometer General Barometer 1021.34 hPa - -   2019-02-09 20:14:24
  14 MyDevice 82014 1 Alert General Alert No Alert! - -   2019-02-09 20:14:13
  13 MyDevice 1405D 1 AirQuality Air Quality Voltcraft CO-20 0 ppm - -   2019-02-09 20:14:02
  12 MyDevice 00082012 1 LeafWetness General Leaf Wetness 2 - -   2019-02-09 20:13:51
  11 MyDevice 82011 1 Lux Lux Lux 0 Lux - -   2019-02-09 20:13:12
  10 MyDevice 1405A 1 P1smart P1 Smart Meter Energy 0;0;0;0;0;0 - -   2019-02-09 20:13:02
  9 MyDevice 00082009 1 Percentage General Percentage 0% - -   2019-02-09 20:12:48
  8 MyDevice 14058 1 Humidity Humidity LaCrosse TX3 Humidity 50 % - -   2019-02-09 20:12:32
  7 MyDevice 14057 1 Gas P1 Smart Meter Gas 0.000 - -   2019-02-09 20:12:18
  6 MyDevice 00082006 1 CustomSensor General Custom Sensor 0 Axis - -   2019-02-09 20:12:07
  5 MyDevice 00082005 1 Voltage General Voltage 0 V - -   2019-02-09 20:10:16
  4 MyDevice 82004 1 Usage Usage Electric 0 Watt - -   2019-02-09 20:09:34
  3 MyDevice 00014053 1 Switch Light/Switch Switch Off - -   2019-02-09 20:08:46
  2 MyDevice 14052 1 TempHum Temp + Humidity THGN122/123/132, THGR122/228/238/268 0.0 C, 50 % - -   2019-02-09 20:07:28
  1 MyDevice 14051 1 Temprature Temp LaCrosse TX3 0.0 C

I see in the app that i get: Temprature Switch Gas Humidity P1smart TempLatest

I guess that this means that the app search all devices on the domotics but only fetch the one that are "valid" or recogniced into the app.

I read thru the app code and I can see that there are alot of device types in there, but some missing. It may also be impossible/hard to get all into the app.. so i understand :-)

Is i could ask for a request, it would be nice to get

  1. Text, Electic, Voltage, and Temp + Humidity working
  2. maybe it could be possible to set the poll frequence to 10 or 30 second? maybe 60 second? (maybe a preferense settings)

Good work mr. the app is cool..

jjtbsomhorst commented 5 years ago

Just to be sure. Which branch of github are you using? The beta? Cause I just added a dummy Temp + Humidity sensor myself at my installation and I can use it in the app.

also electic, voltage which device is that in the table you specified?

eddiex666 commented 5 years ago

I use the beta. https://github.com/jjtbsomhorst/eu.jeroensomhorst.domoticz/tree/beta

Just uninstalled the app form Homey. Downloaded the latest ZIP file and installed it.

i can only se Temprature Switch Gas Humidity P1smart TempLatest

The strange thing is that i can see the rutine driver for Energy inside the driver.js.

        case "Energy":
            capabilities.add(CAPABILITY_MEASURE_POWER);
            capabilities.add(CAPABILITY_METER_POWER);
            capabilities.add(CAPABILITY_CUMULATIVE_POWER_HIGH);
            capabilities.add(CAPABILITY_CUMULATIVE_POWER_LOW);
            break;
eddiex666 commented 5 years ago

just tryed to have 3 devices in domoticz. TempHum (temprature + humidity) Switch TempLatest

I can only se: switch TempLatest

I have uninstalled it and install the beta again.

jjtbsomhorst commented 5 years ago

I don't know if its possible but could I somehow get access to your domoticz or your homey? I find it strange that when I make devices locally with these classes everything seems to work as I would expect but at your place it doesn't work. Acces to homey can be done by creating a new user to your homey with the e-mail adress j.somhorst@gmail.com

eddiex666 commented 5 years ago

Hi.. Sorry for slow Reply. I have not brent working om Homey for some days. However.. if you want to contuine searching for possible bug. I using domoticz for Windows. The latest. Only set login username and password. Adding 1 dummy hw and then added many virtual devices.

As for my integration i found the perfect way to let the domoticz update my Homey thru webhook.