Hello,
I have the need for some user interaction based on an input value. I think it would make sense to have a specific dummy device acting as a user input box that could be used as an entry for various languages as bash or Python. Does that make sense?
Thank you.
User input dummy device
Moderators: leecollings, remb0
-
- Posts: 374
- Joined: Friday 23 May 2014 7:55
- Target OS: Linux
- Domoticz version: 2022.1
- Location: Saint Pierre de Jards
- Contact:
User input dummy device
Debian buster on NUC and three RPi with buster.
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: User input dummy device
Can you clarify what you hope to achieve?
-
- Posts: 374
- Joined: Friday 23 May 2014 7:55
- Target OS: Linux
- Domoticz version: 2022.1
- Location: Saint Pierre de Jards
- Contact:
Re: User input dummy device
Firstly I'd like to say that I have been using Domoticz for a number of years, and the more I use it the more I think it is a fantastic platform.
That being said, when I start to think at my original post, I must admit it is not a simple matter. In this specific case, the need is to give a user text input to a Python script that will return a text string (sent to Text device?) based on a query made to database (in that case a Plex database) and ultimately setup the projector and the audio/video processor accordingly. The Python script is written and is working.
That being said, when I start to think at my original post, I must admit it is not a simple matter. In this specific case, the need is to give a user text input to a Python script that will return a text string (sent to Text device?) based on a query made to database (in that case a Plex database) and ultimately setup the projector and the audio/video processor accordingly. The Python script is written and is working.
Debian buster on NUC and three RPi with buster.
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: User input dummy device
I completely agree. Domoticz is very useful and fun also
. Kudos to the developers. As for collecting user input other then a setpoint value or specific switch setting I haven't come across any functionality that might be useful for your project. Sounds like it would require some hacking. Perhaps someone else has some insights?
Cheers,
Lex

Cheers,
Lex
-
- Posts: 374
- Joined: Friday 23 May 2014 7:55
- Target OS: Linux
- Domoticz version: 2022.1
- Location: Saint Pierre de Jards
- Contact:
Re: User input dummy device
As a matter of fact, if I want to do the job correctly, I would have to develop a specific HTML tab with all the needed php code. I indeed do know that this is open source code, but are the hooks and documentation...) within the current code available to achieve such a project without breaking the core and even more importantly being able to upgrade the core without breaking the specific code. I do have development experience with various languages but no experience at all in php/JavaScript.
Cheers
Nicolas
Cheers
Nicolas
Debian buster on NUC and three RPi with buster.
Re: User input dummy device
+1 for user input device....
this could be useful for many things
for example would be great for automatize playing videos from youtube (mpsyt project) just join text string with this script, mpsyt //the TEXT INPUT, 1, all then you can play any interpret you want with domoticz...
this could be useful for many things
for example would be great for automatize playing videos from youtube (mpsyt project) just join text string with this script, mpsyt //the TEXT INPUT, 1, all then you can play any interpret you want with domoticz...
-
- Posts: 85
- Joined: Thursday 12 May 2016 15:47
- Target OS: Linux
- Domoticz version: 11838
- Location: South of France
- Contact:
Re: User input dummy device
+1 for user input !
For my usage, it'd be enough to be able to change the unit of the thermostat widget, like we do for the custom sensor. That way, we could enter quantity or time setpoints in addition to temperature setpoints.
Example of usage :
- Quantity setpoint for chlorine dosing on the swimming pool
- Time setpoint for garden watering or swimming pool filtering
... and many more
For my usage, it'd be enough to be able to change the unit of the thermostat widget, like we do for the custom sensor. That way, we could enter quantity or time setpoints in addition to temperature setpoints.
Example of usage :
- Quantity setpoint for chlorine dosing on the swimming pool
- Time setpoint for garden watering or swimming pool filtering
... and many more
Who is online
Users browsing this forum: No registered users and 1 guest