Re: Domoboard - General Discussions
Posted: Monday 20 March 2017 12:49
Dont' have systemd/ in my Synology
Open source Home Automation System
https://forum.domoticz.com/
perhaps than with screen ?EdKo66 wrote:Dont' have systemd/ in my Synology
Thank you very much for the information. I really like the interface and the possibilities!squandor wrote:
Hi jjnj,
It's looking greatunfortunately the scrolling is an temporary bug so the menu can be scrolled on mobile devices. We will try to fix the menu scrolling bug so that the unnecessary scrolling of the page can be disabled again
Not there either. I'm on Synology, so maybe they have different commands.squandor wrote:perhaps than with screen ?EdKo66 wrote:Dont' have systemd/ in my Synology
EdKo66 wrote:Not there either. I'm on Synology, so maybe they have different commands.squandor wrote:perhaps than with screen ?EdKo66 wrote:Dont' have systemd/ in my Synology
Code: Select all
[history]
[[display_components]]
components = domoticz_temp_charts[Woonkamer], domoticz_temp_charts[Buiten]
[[domoticz_temp_charts]]
[[[Woonkamer]]]
Woonkamer = 1025, month, temp
[[[Buiten]]]
Buiten = 1036, month, temp
Hi jjnj,jjnj wrote:two Domoticz temp graph results into an error where domoboard tries to merge values:Code: Select all
[history] [[display_components]] components = domoticz_temp_charts[Woonkamer], domoticz_temp_charts[Buiten] [[domoticz_temp_charts]] [[[Woonkamer]]] Woonkamer = 1025, month, temp [[[Buiten]]] Buiten = 1036, month, temp
Also is it possible to disable the percentage pop-up for the sliders? I'm touching on the percentage of the slider below the slider i want to change
Hi Miljume,miljume wrote:Hello,
I have a problem with the sync between Domoticz and Domoboard
If I change a switch in Domoticz GUI it doesn't change in Domoboard dashboard
The opposite works perferctly fine
Any clues?
Thanks but something strange is going on,the swith is always going back to "On" when i refresh the page in Domoboard even if the connected switch in Domoticz is "Off"squandor wrote:Hi Miljume,miljume wrote:Hello,
I have a problem with the sync between Domoticz and Domoboard
If I change a switch in Domoticz GUI it doesn't change in Domoboard dashboard
The opposite works perferctly fine
Any clues?
It could take a moment for the buttons to change. We used an timer to update the buttons because we didn't want to blow up the domoticz server by unlimited pulls
And did you get an error in the console.log?miljume wrote:Thanks but something strange is going on,the swith is always going back to "On" when i refresh the page in Domoboard even if the connected switch in Domoticz is "Off"squandor wrote:Hi Miljume,miljume wrote:Hello,
I have a problem with the sync between Domoticz and Domoboard
If I change a switch in Domoticz GUI it doesn't change in Domoboard dashboard
The opposite works perferctly fine
Any clues?
It could take a moment for the buttons to change. We used an timer to update the buttons because we didn't want to blow up the domoticz server by unlimited pulls
If I change the swithc to "Off" again in Domoboard and refresh the page it reverts back to "On" immediately
The sync between Domoticz to Domoboard must be broken, no matter how long I wait the swith stays in "On" position in DOmoboard
Sorry but where do I find console.log?squandor wrote:And did you get an error in the console.log?miljume wrote:Thanks but something strange is going on,the swith is always going back to "On" when i refresh the page in Domoboard even if the connected switch in Domoticz is "Off"squandor wrote: Hi Miljume,
It could take a moment for the buttons to change. We used an timer to update the buttons because we didn't want to blow up the domoticz server by unlimited pulls
If I change the swithc to "Off" again in Domoboard and refresh the page it reverts back to "On" immediately
The sync between Domoticz to Domoboard must be broken, no matter how long I wait the swith stays in "On" position in DOmoboard
In chrome you can use right mouse click on the page and then choose inspectmiljume wrote:Sorry but where do I find console.log?squandor wrote:And did you get an error in the console.log?miljume wrote:
Thanks but something strange is going on,the swith is always going back to "On" when i refresh the page in Domoboard even if the connected switch in Domoticz is "Off"
If I change the swithc to "Off" again in Domoboard and refresh the page it reverts back to "On" immediately
The sync between Domoticz to Domoboard must be broken, no matter how long I wait the swith stays in "On" position in DOmoboard
OK, seems to have an error theresquandor wrote:In chrome you can use right mouse click on the page and then choose inspectmiljume wrote:Sorry but where do I find console.log?squandor wrote: And did you get an error in the console.log?
Code: Select all
Uncaught TypeError: Cannot read property '0' of undefined
at domoboard.js:93
at Object.success (domoboard.js:9)
at i (jquery-3.1.0.min.js:2)
at Object.fireWith [as resolveWith] (jquery-3.1.0.min.js:2)
at A (jquery-3.1.0.min.js:4)
at XMLHttpRequest.<anonymous> (jquery-3.1.0.min.js:4)
well that's you're problem but the question is where is it coming from. It seems that you're connection between domoboard en domoticz isn't flaweless. Do you have authentication enabled in domoticz?miljume wrote:OK, seems to have an error theresquandor wrote:In chrome you can use right mouse click on the page and then choose inspectmiljume wrote:
Sorry but where do I find console.log?
Keeps popping up with a regular frequencyCode: Select all
Uncaught TypeError: Cannot read property '0' of undefined at domoboard.js:93 at Object.success (domoboard.js:9) at i (jquery-3.1.0.min.js:2) at Object.fireWith [as resolveWith] (jquery-3.1.0.min.js:2) at A (jquery-3.1.0.min.js:4) at XMLHttpRequest.<anonymous> (jquery-3.1.0.min.js:4)
Could you send the [general_settings] part of the config so we can see if the problem is in there.miljume wrote:Yes, I have authentication enabled but not for local IP adresses and the Domoboard is on the same RPI so that shouldnt be the problem
I did a git pull from the development branch so I am on the latest development version
Sure, see belowsquandor wrote:Could you send the [general_settings] part of the config so we can see if the problem is in there.miljume wrote:Yes, I have authentication enabled but not for local IP adresses and the Domoboard is on the same RPI so that shouldnt be the problem
I did a git pull from the development branch so I am on the latest development version
Code: Select all
[general_settings]
[[server]]
url = 192.168.0.51:8081 # IP-address of Domoticz backend
flask_url = 192.168.0.51:8090 # Please note: this is the internal IP-address including port of the Domoboard server
user = username # Username for Domoticz (if required)
password = password # Password for Domoticz (if required)
secret_key = <secret key> # A random secret key used for Python authentication. Change to anything random.
[[users]]
user1 = password1 # Add users for Domoboard here. In this case login with username "username" and password "password"
user2 = password2
[[domoboard]]
time = True # True/False: show time in top bar
date = True # True/False: show date in top bar
language = "sv" # Change this to display date/time in local language and format
#google_maps_api_key = <api key> # Google Maps Embed API key
autologon = True # True/False: enable autologon
[[wunderground]]
api = <api key>
language = en
you could try that to make sure that it's not needed and also set something in the secret key to make sure that all the possibility's are filled in. beside that you could try to set the url to url = 127.0.0.1:8081miljume wrote:Sure, see belowsquandor wrote:Could you send the [general_settings] part of the config so we can see if the problem is in there.miljume wrote:Yes, I have authentication enabled but not for local IP adresses and the Domoboard is on the same RPI so that shouldnt be the problem
I did a git pull from the development branch so I am on the latest development version
I guess the username/password part for Domoticz isn't needed when I have excluded login for local IP's?
Code: Select all
[general_settings] [[server]] url = 192.168.0.51:8081 # IP-address of Domoticz backend flask_url = 192.168.0.51:8090 # Please note: this is the internal IP-address including port of the Domoboard server user = username # Username for Domoticz (if required) password = password # Password for Domoticz (if required) secret_key = <secret key> # A random secret key used for Python authentication. Change to anything random. [[users]] user1 = password1 # Add users for Domoboard here. In this case login with username "username" and password "password" user2 = password2 [[domoboard]] time = True # True/False: show time in top bar date = True # True/False: show date in top bar language = "sv" # Change this to display date/time in local language and format #google_maps_api_key = <api key> # Google Maps Embed API key autologon = True # True/False: enable autologon [[wunderground]] api = <api key> language = en