Search found 100 matches

by reza
Sunday 22 September 2024 23:01
Forum: General Discussion
Topic: how to use virtual switch,switch,media player ?
Replies: 10
Views: 1325

Re: how to use virtual switch,switch,media player ?

Try this thank you. i try and this message write to log every some seconds and repeat. 2024-09-23 00:26:50.692 Status: EventSystem: Script event triggered: /home/pi/Domoticz/dzVents/runtime/dzVents.lua 2024-09-23 00:26:50.757 Status: dzVents: Info: Handling httpResponse-events for: "MediaPlayer ...
by reza
Saturday 21 September 2024 15:11
Forum: General Discussion
Topic: how to use virtual switch,switch,media player ?
Replies: 10
Views: 1325

Re: how to use virtual switch,switch,media player ?

In my case i have a virtual switch type of Selector for my TV. But my IR controller needs internet so i need curl installed . thank you for help. i am beginner in dzVents. i try but i can not run this . i have an error 2024-09-21 16:27:00.324 Error: dzVents: Error: (3.1.8) error loading module ...
by reza
Saturday 21 September 2024 10:07
Forum: General Discussion
Topic: how to use virtual switch,switch,media player ?
Replies: 10
Views: 1325

Re: how to use virtual switch,switch,media player ?

can you give me a simple dzvents code for control with virtual switch (media player) for use media player remote control. for example for play/pause or vol+ or vol-
for example i have this code for Vol+(with a espeasy ir trasmitter):
http://192.168.1.199/control?cmd=IRSEND,NEC,FF9867,32
by reza
Sunday 15 September 2024 13:11
Forum: General Discussion
Topic: how to use virtual switch,switch,media player ?
Replies: 10
Views: 1325

how to use virtual switch,switch,media player ?

hi guys
i want use a misc remote. i have IR codes and i have an espeasy IR transmitter. in domoticz i want use a virtual switch as media player. how to use remote controller in dummy device?
Media_Player.png
Media_Player.png (17.02 KiB) Viewed 1284 times
i can not use remote and this is no settings for this.
by reza
Thursday 05 September 2024 16:09
Forum: Bugs and Problems
Topic: Error : "Error: Error opening SQLite3 database: unable to open database file"
Replies: 5
Views: 443

Re: Error : "Error: Error opening SQLite3 database: unable to open database file"

waltervl wrote: Monday 02 September 2024 20:29
If your Domoticz database is also on that read-only sd card than this probably is the reason your Domoticz will not work....
[/quote]

I do read-only for protect sd card (stop crash SD)
so are there any solution for protect sd card?
by reza
Monday 02 September 2024 15:41
Forum: Bugs and Problems
Topic: Error : "Error: Error opening SQLite3 database: unable to open database file"
Replies: 5
Views: 443

Re: Error : "Error: Error opening SQLite3 database: unable to open database file"

[/quote] I don't think "./domoticz" is the way to start domoticz. Try "sudo service domoticz start" (not sure of the sudo is needed) [/quote] my domoticz is in startup and always auto start. but some time with unplug/plug or reboot can not auto start and i check with ./domoticz for see errors. i see ...
by reza
Monday 02 September 2024 13:18
Forum: Bugs and Problems
Topic: Error : "Error: Error opening SQLite3 database: unable to open database file"
Replies: 5
Views: 443

Error : "Error: Error opening SQLite3 database: unable to open database file"

hi guys version 2024.4 raspberry pi 4 some times when i unplug/plug power supply of raspberry , domoticz go to offline , when i want run this manually with this command "./domoticz" i have this error : Error opening SQLite3 database: unable to open database file Of course, I have made a change in ...
by reza
Tuesday 27 August 2024 12:23
Forum: Bugs and Problems
Topic: problem with "login page" can not login with a correct username and password
Replies: 5
Views: 625

Re: problem with "login page" can not login with a correct username and password

i think this is a bug in domoticz.i have this problem from v 3/5... until now
by reza
Tuesday 27 August 2024 12:13
Forum: Bugs and Problems
Topic: problem with "login page" can not login with a correct username and password
Replies: 5
Views: 625

Re: problem with "login page" can not login with a correct username and password

... but when I enter in raspberry pi with raspberry pi explorer and ip 127.0.0.1:8080 , i have not this problem. For that part, explanation is probably linked to 127.0.0.1 being in "Trusted networks" of "Setup" > "Settings", "Security" tab. Concerning login, I don't use it that way. thanks for ...
by reza
Friday 23 August 2024 13:38
Forum: Bugs and Problems
Topic: problem with "login page" can not login with a correct username and password
Replies: 5
Views: 625

problem with "login page" can not login with a correct username and password

hi guys i have a strange problem.before , i am used domoticz v3.5... now i switch to version 2024. in last version, when i want actived login page with a username and pass word , if i choose "basic-auth" every things is ok . but if I select "login page" soooooo when i am out and i want login and ...
by reza
Wednesday 31 July 2024 2:25
Forum: Other questions and discussions
Topic: how use domoticz username and password in esp8266 wifi module use arduino IDE?
Replies: 10
Views: 2896

Re: how use domoticz username and password in esp8266 wifi module use arduino IDE?

Before or after the User-Agent line, because it is header information
Thank you dear 🙏
by reza
Monday 29 July 2024 23:28
Forum: Other questions and discussions
Topic: how use domoticz username and password in esp8266 wifi module use arduino IDE?
Replies: 10
Views: 2896

Re: how use domoticz username and password in esp8266 wifi module use arduino IDE?

Go to this webiste: https://www.base64encode.org/ put username and password in the form of username:password in the first box Then click encode Copy the result in place of the YWRtaW46YXJkdWlubwo= Oh thank you . But more one qustion. Now this line... put where this code ? After which line? if ...
by reza
Monday 29 July 2024 14:04
Forum: Other questions and discussions
Topic: how use domoticz username and password in esp8266 wifi module use arduino IDE?
Replies: 10
Views: 2896

Re: how use domoticz username and password in esp8266 wifi module use arduino IDE?

And if you want to use client.println then client.println("Authorization: Basic YWRtaW46YXJkdWlubwo="); The characters after "Basic" in that line are the base64 encoded username and password in the format "username:password". thank you. Where is my authorization? This is true? client.println ...
by reza
Monday 29 July 2024 0:07
Forum: Other questions and discussions
Topic: how use domoticz username and password in esp8266 wifi module use arduino IDE?
Replies: 10
Views: 2896

Re: how use domoticz username and password in esp8266 wifi module use arduino IDE?

It is all here: https://www.domoticz.com/wiki/Security thank you for answer i see it and i know about username and password and the format "https://username:password@IP:PORT/json.htm..." but i dont know how set this format to a arduino code. where put user and password in the code with what command ...
by reza
Sunday 28 July 2024 0:57
Forum: Other questions and discussions
Topic: how use domoticz username and password in esp8266 wifi module use arduino IDE?
Replies: 10
Views: 2896

how use domoticz username and password in esp8266 wifi module use arduino IDE?

Hi guys i read this wiki page (https://www.domoticz.com/wiki/ESP8266_WiFi_module) and i want know how put the domoticz username and password for login in this code ? #include <Wire.h> #include <SparkFun_Si7021_Breakout_Library.h> //https://github.com/sparkfun/Si7021_Breakout/blob/master/Libraries ...
by reza
Saturday 27 July 2024 19:37
Forum: General Discussion
Topic: Does not work command: http://username:password@domoticz ip:port
Replies: 22
Views: 2648

Re: Does not work command: http://username:password@domoticz ip:port

Could you please let me know the command you are using? This is waht I gave & am getting the error/ /usr/bin/curl -k "https://user:password@IP_Address/backupdatabase.php" > /home/Mark/tmp/Backup.db in a .py file i use this code: import pycurl from io import BytesIO buffer = BytesIO() curl = pycurl ...
by reza
Wednesday 24 July 2024 2:08
Forum: General Discussion
Topic: Does not work command: http://username:password@domoticz ip:port
Replies: 22
Views: 2648

Re: Does not work command: http://username:password@domoticz ip:port

Do you have setting "Allow Basic-Auth authentication over plain HTTP (API only)" enabled in menu setup - Settings, tab security? Edit: also some browsers do not allow to add user:password so to test you have to use something like curl or postman. edit : i resolve it with curl. thank you
by reza
Tuesday 23 July 2024 23:41
Forum: General Discussion
Topic: Does not work command: http://username:password@domoticz ip:port
Replies: 22
Views: 2648

Does not work command: http://username:password@domoticz ip:port

hi gays i want use command http://username:password@domoticz ip:port but does not work and when i enter this , open login page and request username and password. also when i want send this command : http://username:[email protected]:8080/json.htm?type=command&param=switchlight&idx=7&switchcmd ...