How to access Uservariables (Domoticz)
-
Hi there,
I'm using Mysensors 2.0 and the latest version of Domoticz.
I am looking for a way to access the uservariable in Domoticz, looked everyware but could not find it. Sure you can access VAR's beloning to the sensors but thats not what i want.
Anyone solved this "problem" ?
thanks, help would be appreciated,
Peter
-
Hi there,
I'm using Mysensors 2.0 and the latest version of Domoticz.
I am looking for a way to access the uservariable in Domoticz, looked everyware but could not find it. Sure you can access VAR's beloning to the sensors but thats not what i want.
Anyone solved this "problem" ?
thanks, help would be appreciated,
Peter
@Petervdam -. Do you mean the raw data?
Its inside the db file. Use some sort of SQL program to see them.
Howto (Linux) http://domoticz.com/forum/viewtopic.php?t=11930
Search "domoticz database sql" for more info(If you mean userdefined variables its found Setup -> More options -> User variables)
-
Hi,
Sorry, i should be more clear, i want to access the userdefined (uservariables), from within the arduino code. I know you can use json call's , but thats not what i am looking for. I wanty to know if it's posible to access then directly from within a code (arduino).
-
Hi,
Sorry, i should be more clear, i want to access the userdefined (uservariables), from within the arduino code. I know you can use json call's , but thats not what i am looking for. I wanty to know if it's posible to access then directly from within a code (arduino).
@Petervdam - you need to use the request() function and fetch a variable from your controller.
Inside the controller you need to make a script that updates the variable with the info you want.I use request in my rain-sensor: https://forum.mysensors.org/topic/1950/domotiocz-rain-gauge/2
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login