Page 1 of 1

How to remote manipulate dummy device value?

Posted: 02 May 2019, 11:02
by SBoth
Hello all,

I use an ESP 8266(E12) with firmware mega-20190409.
An Oled Display (SH1106 Framed) is connected via I2C Bus.
I have to display a value of a sensor.
On SSD1306 Displays I do it that way:
wget -O /dev/null -q http://192.168.100.50/control?cmd=OLED,4,1,"FOLIE LEER"
I know, it is not supposed to work that way with SH1106 / 1306 Framed.

I thought, it may be a good idea to try it that way:
Applying a Dummy Device called " Ext_Wert " with the values
"Rolle1 and Rolle2" (1 decimal). Then insert the variable [Ext_Wert#Rolle1]
and [Ext_Wert#Rolle2] in Line 1 (and 2) of the display device page.

Well up to that Point, it works fine. However, you may guess already,
it displays " 0.0 ", because the variable isn't filled yet.

My Question is:
How to manipulate the variable eg. with a terminal-command or via IO/Broker ?



I'm a bit desperated meanwhile, so any help is appriciated!

Greetings

Steve

Re: How to remote manipulate dummy device value?

Posted: 02 May 2019, 11:45
by schnurzel59
Hello Steve,

In a Browser:

Code: Select all

http://192.168.100.50/control?cmd=taskvalueset,X,1,YYY.Y
http://192.168.100.50/control?cmd=taskvalueset,X,2,YYY.Y
X is the Devicenumber.(1 to 12)
YYY,Y is the new Value.

Greetings
Martin

Re: How to remote manipulate dummy device value?

Posted: 02 May 2019, 12:37
by SBoth
:oops:


Ohh Jesus...
Thank you. I`ll test it immediately!

Steve

Re: How to remote manipulate dummy device value?

Posted: 02 May 2019, 12:57
by SBoth
schnurzel59 wrote: 02 May 2019, 11:45 Hello Steve,

In a Browser:

Code: Select all

http://192.168.100.50/control?cmd=taskvalueset,X,1,YYY.Y
http://192.168.100.50/control?cmd=taskvalueset,X,2,YYY.Y
X is the Devicenumber.(1 to 12)
YYY,Y is the new Value.

Greetings
Martin
You made my day :D

Steve

Re: How to remote manipulate dummy device value?

Posted: 03 May 2019, 11:02
by schnurzel59
I am very happy that you are happy.