Just wondering if there is already something available where I can show a dynamic text within a switch button.
Quite similar to the mediaplayer button used for Kodi. If a movie is playing the button also shows the title of the movie
thanks
Combination of a Dummy switch + text device
Moderators: leecollings, remb0
-
- Posts: 45
- Joined: Tuesday 26 May 2015 22:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Argentina
- Contact:
Re: Combination of a Dummy switch + text device
I use a dummy TEXT sensor and with a script change the svalue. The only problem is don´t log the info over time
dec=$data
curl -s "http://192.168.0.8:9550/json.htm?type=c ... value=$dec" > /dev/null
Is this what you looking for?
dec=$data
curl -s "http://192.168.0.8:9550/json.htm?type=c ... value=$dec" > /dev/null
Is this what you looking for?
Razberry + 4 Eversrping HSM02 + 2 Aeotec Multi-Sensor + 1 Aeotec Micro Dimmer + 4 Aeotec Micro Smart Energy Switch, 2nd + 1 Remotec ZXT-120 + 1 Aeotec Smart Energy Monitor + 1 Everspring SE812 indoor Siren + 2 fibaro motion sensor + Aeotec water sensor
-
- Posts: 179
- Joined: Friday 12 July 2013 13:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta Ch
- Location: The Netherlands
- Contact:
Re: Combination of a Dummy switch + text device
That is one of things I'm trying to achieve. The text (the above variable dec) should display on a switch icon
See the below media button I use for Kodi.
See the below media button I use for Kodi.
- Attachments
-
- OSMC.JPG (17.36 KiB) Viewed 3422 times
-
- Posts: 45
- Joined: Tuesday 26 May 2015 22:49
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Argentina
- Contact:
Re: Combination of a Dummy switch + text device
Yes, the $dec variable, the contains the value you want to display in the text sensor
Razberry + 4 Eversrping HSM02 + 2 Aeotec Multi-Sensor + 1 Aeotec Micro Dimmer + 4 Aeotec Micro Smart Energy Switch, 2nd + 1 Remotec ZXT-120 + 1 Aeotec Smart Energy Monitor + 1 Everspring SE812 indoor Siren + 2 fibaro motion sensor + Aeotec water sensor
-
- Posts: 179
- Joined: Friday 12 July 2013 13:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta Ch
- Location: The Netherlands
- Contact:
Re: Combination of a Dummy switch + text device
But with just a textsensor I can't switch anything.
The above image is a switch, but with the functionality of a text sensor integrated. The circled part is dynamic.
The above image is a switch, but with the functionality of a text sensor integrated. The circled part is dynamic.
-
- Posts: 9
- Joined: Wednesday 28 January 2015 12:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Combination of a Dummy switch + text device
how do you handle white spaces in text ? if i add white spaces text is not displayed. i can work around it by placing dots and underscores, text is not clearly readeble with all those dots and underscores. Also would like to use the \n newline character to ge info clear and readable in ImperiHome buttons
-
- Posts: 12
- Joined: Tuesday 17 May 2016 14:42
- Target OS: Windows
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Combination of a Dummy switch + text device
For the white space, insert %20 instead and it will work.
HP Microserver + Domoticz + Aeon Labs Z-Wave USB +RFX433
-
- Posts: 7
- Joined: Monday 02 January 2017 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Oslo, Norway
- Contact:
Re: Combination of a Dummy switch + text device
Is this something that is possible in current version of Domoticz?
Newbie just started with Domoticz and home automation.
Who is online
Users browsing this forum: No registered users and 1 guest