Search found 24 matches

by Darkneo
Monday 18 July 2022 11:00
Forum: Bash / PowerShell / Batch etc.
Topic: Saving token to Domoticz variable in bash
Replies: 3
Views: 1761

Re: Saving token to Domoticz variable in bash

Hi, I also faced this kind of problems trying to use tokens...
What I finally used is a cookie, to save the connection (with wget, and not curl). I do not know this can also be a workaround for you or not.
Anyway interested to see if anybody finds a fix for this!
by Darkneo
Monday 18 July 2022 10:50
Forum: Bash / PowerShell / Batch etc.
Topic: APC UPS Monitoring
Replies: 38
Views: 42291

Re: APC UPS Monitoring

Hi there, Just adding my2cents there. I am using the dedicated plugin to monitor my UPS connected to my Domoticz through USB since years now, and have no issues (https://forum.domoticz.com/viewtopic.php?t=18154) Nothing special, everything is well explained and documented and working properly. On my ...
by Darkneo
Monday 18 July 2022 9:30
Forum: Bash / PowerShell / Batch etc.
Topic: Script error, returned: 32512
Replies: 0
Views: 1873

Script error, returned: 32512

Hello all, I found plenty of topics on this issue, but unfortunately I did not succeed to make my script working.... The end of line are correct (LF), I changed the owner to root (for your information, Domoticz is installed in a Synology NAS), and the execution through SSH is working correctly ...
by Darkneo
Wednesday 07 July 2021 8:04
Forum: Utility
Topic: Data from Wallbox car charger
Replies: 23
Views: 6720

Re: Data from Wallbox car charger

Hi there, and sorry for taking this topic over. But I am trying to find a way to connect my EV charger through OCPP protocol (ideally in Domoticz later). My main objective is to make a power adjustement of the EV Charger according my house electrical consumption (EV charger may vary from 6 amps to ...
by Darkneo
Wednesday 07 July 2021 8:00
Forum: Utility
Topic: Evbox / OCPP protocol integration in Domoticz
Replies: 2
Views: 1332

Re: Evbox / OCPP protocol integration in Domoticz

Hello, I found this topic but did not want to bother them with my EV Charger (the brand is EVBOX, model Elvi). I'll contact them to find out how they did use the OCPP protocol in Domoticz. Edit: After checking their device, it seems to be a Wallbox charger. This charger embeds a RPI as main board ...
by Darkneo
Friday 02 July 2021 11:56
Forum: Utility
Topic: Evbox / OCPP protocol integration in Domoticz
Replies: 2
Views: 1332

Evbox / OCPP protocol integration in Domoticz

Hello there! I do not know if this topic will be in the right section, sorry in advance for that if that's not the case. I have just installed an EV charger at home, and I really would like to integrate it somehow in Domoticz. I tried to listen for open ports on the device, but only SMTP ports are ...
by Darkneo
Thursday 01 July 2021 13:41
Forum: Show your projects
Topic: EV car charge with PV
Replies: 7
Views: 2991

Re: EV car charge with PV

Hi and thanks for this topic! Even quite old, I am really interested in it! It is quite an anticipation as: 1° I do not yet have my EV Leaf and 2° I do not have my photovoltaic power (kind of delay due to a virus, you might have heard about that :) ) The first step I am trying to clarify is the h ...
by Darkneo
Wednesday 01 January 2020 9:26
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92288

Re: TP-Link smart plug HS100/HS110

Hi, and thanks for your reply (and happy new year! :mrgreen: )

The script I am using is the "tplink-smartplug.py" (I guess the first version). I'll give a try using your latest post on git and keep you informed!
by Darkneo
Friday 27 December 2019 15:27
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92288

Re: TP-Link smart plug HS100/HS110

Hi there and thanks for this script (that I still had many problem to start, due to DOS2Unix problems... :'( ) Now the script is executing on both domoticz and SSH.... But nothing happens on the switch.... On SSH, I have the command: Sent: {"system":{"set_relay_state":{"state":0}}} Received: Nothing ...
by Darkneo
Tuesday 12 March 2019 21:19
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM mini 3

Whoo... How to do so? As all my devices are declared in the Android app! https://www.domoticz.com/wiki/Plugins/BroadlinkRM2.html#RM2_Device Ty, I will check that! (I am using IHC instead of e-control but the export does not seem to exists in this app). EDIT: hmm something strange once again... I ...
by Darkneo
Sunday 10 March 2019 21:11
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM mini 3

Same problems here...installed everything correctly.... but when i try to import ...and start WebStart i get this in log 2019-03-09 10:59:17.351 Status: User: Admin initiated a switch command (439/Broadlink - Import/Set Level) 2019-03-09 10:59:17.493 Error: (Broadlink) 127 2019-03-09 10:59:17.494 ...
by Darkneo
Saturday 09 March 2019 8:06
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM2 V4

Hi, Hereunder the issue I am facing. The app does not seem to be able to learn more than one command. I try to create a new button, but when pressing "Test" nothing happens. I tried also to learn other remotes, same issue. And no error in log. initiated a switch command (16/Broadlink - Command/Set ...
by Darkneo
Friday 08 March 2019 16:43
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM2 V4

Regarding your module list, we have the same files. But I cant send you a zip file later tonight.

in SSH could you please go to plugin folder:

Code: Select all

cd /home/pi/domoticz/plugins
Then:

Code: Select all

ls -a
Then:

Code: Select all

cd BroadlinkRM2
Then:

Code: Select all

ls -a
by Darkneo
Friday 08 March 2019 16:14
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM2 V4

Typo issue on my side.

pycryptodome

On my side, as I said, I have still pycryptodome. Try to remove pycrypto only at first
by Darkneo
Friday 08 March 2019 15:49
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM2 V4

__init__.py shall be in another folder.

~/BroadlinkRM2:
plugin.py
plugin_http.py
plugin_http.sh
plugin_send.py

~/BroadlinkRM2/broadlink:
__init__.py

As Zak said, also remove pycrypto (if you do not need it). I did not remove pycrptodome at the time... and I am able to connect to the Broadlink
by Darkneo
Friday 08 March 2019 15:12
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 311
Views: 115967

Re: Python plugin: Xiaomi Mi Robot Vacuum

Hi there, I just installed the plugin (hoping that other issues I already solved with python will handle potential issues for this plugin)... Unfortunately it did not... :cry: I raised an issue on Git for that topic but if someone can help. Domoticz 4.97 Installed on Synology After creating the ...
by Darkneo
Friday 08 March 2019 14:50
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM2 V4

Sorry I edited the previous post while comparing your installation folders to mine. Editing all together :D :D No you need to copy the Broadlink folder itslef (find -iname broadlink) with all the content. normally it shall ony content a file __init__.py and eventually a pycache folder) And I guess ...
by Darkneo
Friday 08 March 2019 14:40
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM2 V4

Hi, Broadlink not running I think you're in the Device manager. After adding the hardware Broadlink, new switches are directly created. As you have no errors on your logs, I think t'oure on good track. Anyway, your broadlink folder is not correct (or not the one I used). In domoticz/plugins you ...
by Darkneo
Friday 08 March 2019 10:13
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM2 V4

Hi, I think it is better now. But I am having some issue with the switch created. Exemple: I have the ON/OFF IR button for my hifi (It is the same button, and I guess the same code). After creating the switch, if the hifi is off, the switch powers it on. But if it's on, it does not powers it off ...
by Darkneo
Thursday 07 March 2019 17:28
Forum: Python
Topic: Python Plugin : Broadlink RM2 V4
Replies: 651
Views: 121593

Re: Python Plugin : Broadlink RM2 V4

Hi, I'll try it out and keep you posted. Thanks. For others: Please ensure to chmod +x the .sh file in the Broadlink dir (I also chmod the ones .py in the various directories). For me I went from nothing works to very close to make it work properly :) Edit: @Zak45, you might also change the wiki ...