Works good
-
-
@sweetpi That’s awesome. Would it be possible to support different special text input-types like the examples given on the jQuery Mobile page, e.g. date, time, number, color, and such.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Hello,
i getting an error:
error [pimatic-mobile-frontend]: Client error: b is null
before i’ve put it into the config,
i have updated to the newest version of pimatic.excuse me that wasn’t correct, the error came, when i was adding the textfield onto the GUI.
mfg
Chris -
@chris said:
efore i’ve put it into the config,
i have updated to the newest version of pimatic.excuse me that wasn’t correct, the error came, when i was adding the textfield onto the GUI.
You need to add the variable too.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Yes i already found it now.
Solved.
-
@mwittig said:
That’s awesome. Would it be possible to support different special text input-types like the examples given on the jQuery Mobile page, e.g. date, time, number, color, and such.
This is next on my list
-
Great device!
Is it possible to give such a device a value from the api?Like:
192.x.x.x/api/device/mydevice/setVariableTo?mynewvalueThat would be great!
-
this VariableInputDevice is using an existing variable, you already can update variables via API.
Follow my domotica project on http://maredana.nl
-
Ok, thanks.
But I can’t find how the api is used to change a value…
Can you give an example? -
@lschip said:
Can you give an example?
See API documentation. In the example below
the-answer
is the name of the variable you need to set-up and1337
is the value to be assigned.curl \ -X PATCH \ --header "Content-Type:application/json" \ --data '{"type": "value", "valueOrExpression": 1337}' \ --user "user:password" \ http://your-pimatic/api/variables/the-answer
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law