Page 15 of 28

Re: Dashticz - Bug report

Posted: Friday 17 November 2017 22:50
by gijsje
This is in devices
43 RFXCOM 16E2000 2 Radiator Radiator 1 Smartwares 15.0

And this is in the log file when you change it
2017-11-17 22:46:10.474 (RFXCOM) Radiator 1 (Radiator)

Re: Dashticz - Bug report

Posted: Friday 17 November 2017 22:52
by robgeerts
Open: http://DOMOTICZ_ADDRESS:PORT/json.htm?type=devices
Search for Radiator. I want to check the piece of code between 'AddjMulti' and 'idx'
Have to go now but will fix this asap.

Re: Dashticz - Bug report

Posted: Friday 17 November 2017 22:53
by gijsje
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "15.0",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 2,
"HardwareName" : "RFXCOM",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveTimeout" : false,
"ID" : "16E2000",
"LastUpdate" : "2017-11-17 22:46:10",
"Name" : "Radiator",
"Notifications" : "false",
"PlanID" : "10",
"PlanIDs" : [ 10 ],
"Protected" : false,
"SetPoint" : "15.0",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Smartwares",
"Timers" : "false",
"Type" : "Radiator 1",
"TypeImg" : "override_mini",
"Unit" : 2,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "43"

Re: Dashticz - Bug report

Posted: Friday 17 November 2017 22:54
by gijsje
Thanks no hurry

Re: Dashticz - Bug report

Posted: Saturday 18 November 2017 17:09
by robgeerts
@Gijsje
In latest version you can view this device as a temperature-device.
Controlling is not yet possible. Do you now wich url is called when controlling the temperature of this device in Domoticz?
You can see this in console (F12) when pressing/sliding.

Re: Dashticz - Bug report

Posted: Sunday 19 November 2017 11:36
by gijsje
It shows now as a temp device thats ok but it should show up as a thermostat or something i guess
The ouput is json.htm?type=command&param=setsetpoint&idx=43&setpoint=15.5

Re: Dashticz - Bug report

Posted: Sunday 19 November 2017 21:20
by robgeerts
Well thats not possible at the moment I guess, you can add a Selector Switch to domoticz, wich has several buttons for setting default temperatures (for example 15.5, 17.5 20,21) Behind every button you can add an action-url (in Domoticz)

Re: Dashticz - Bug report

Posted: Wednesday 22 November 2017 22:19
by EdwinK
With new update (Nov. 22/22:15) I get a blueish empty screen

This is in the log:
Spoiler: show
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js:4
VM56:235 Uncaught ReferenceError: c is not defined
at handleStringBlock (eval at globalEval (jquery.min.js:2), <anonymous>:235:13)
at getBlock (eval at globalEval (jquery.min.js:2), <anonymous>:108:21)
at buildScreens (main.js?v=1511385345348:284)
at onLoad (main.js?v=1511385345348:137)
at Object.<anonymous> (main.js?v=1511385345348:109)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at HTMLScriptElement.c (jquery.min.js:4)
at HTMLScriptElement.dispatch (jquery.min.js:3)
csi.gstatic.com/csi?v=2&s=mapsapi3&v3v=31.0&action=apiboot2&e=10_1_0,10_2_0&rt=main.18 Failed to load resource: net::ERR_CONNECTION_REFUSED

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 0:11
by aiolos
Ah, that's something I broke I think. (Quite a big refactor of the code was merged today)
I'll look into it.

If others experience problems with the latest beta let me know. In the end it should get better, but there can be some rough edges right now.

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 8:22
by EdwinK
Thanks. I know that running beta this could happen, so no worries

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 10:10
by raymond
Checked, did a fresh git pull this morning. Screens come up but the garbage and Sonarr modules don't seem to load.
Don't know if this helps.

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 10:24
by robgeerts
Garbage works here....
Whats your garbage-config?

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 10:43
by EdwinK
Strangely, I created another index file with some other settings, and that one is working

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 10:52
by raymond
robgeerts wrote: Thursday 23 November 2017 10:24 Garbage works here....
Whats your garbage-config?
mijnafvalwijzer

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 11:26
by aiolos
EdwinK wrote: Wednesday 22 November 2017 22:19 With new update (Nov. 22/22:15) I get a blueish empty screen

This is in the log:
Spoiler: show
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js:4
VM56:235 Uncaught ReferenceError: c is not defined
at handleStringBlock (eval at globalEval (jquery.min.js:2), <anonymous>:235:13)
at getBlock (eval at globalEval (jquery.min.js:2), <anonymous>:108:21)
at buildScreens (main.js?v=1511385345348:284)
at onLoad (main.js?v=1511385345348:137)
at Object.<anonymous> (main.js?v=1511385345348:109)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at z (jquery.min.js:4)
at HTMLScriptElement.c (jquery.min.js:4)
at HTMLScriptElement.dispatch (jquery.min.js:3)
csi.gstatic.com/csi?v=2&s=mapsapi3&v3v=31.0&action=apiboot2&e=10_1_0,10_2_0&rt=main.18 Failed to load resource: net::ERR_CONNECTION_REFUSED
I created a pull request for this issue. hope it solves the issue.

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 11:27
by EdwinK
:) Thanks. Will wait till the merge :)

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 11:28
by robgeerts
It's merged :)

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 12:00
by EdwinK
Latest update fixed it. Thanks Rob and aiolos

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 12:11
by aiolos
Cool, good the hear.

Re: Dashticz - Bug report

Posted: Thursday 23 November 2017 12:16
by EdwinK
Screen Shot 2017-11-23 at 12.15.02.png
Screen Shot 2017-11-23 at 12.15.02.png (309.49 KiB) Viewed 1975 times
Now I've got this little problem. Not to serious, just need to resize them myself ;)