Search found 34 matches

by vamp
Sunday 17 May 2020 15:14
Forum: Rfxcom Transceiver
Topic: Some question before buy this device.
Replies: 0
Views: 650

Some question before buy this device.

Hello there, I would like to buy a RFXtrx433XL device. But i'm afraid that not support my all 433mhz sensors. My devices: - Kerui Motion detector (supported) - dooya 1602 remote (supported) - Kerui doorbell - self powered (no info) - Noname WS2032 weather station (no info) Some Info. Kerui Doorbell ...
by vamp
Tuesday 04 February 2020 16:52
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1092
Views: 188340

Re: Python plugin: Presence detection from wireless router

Hello! I use Proxmox Virtualization and run on it a Firewall VM. The Firewall VM not support any method that you use it, but the Proxmox is possible to use "brctl showmacs" but in Proxmox, the bridge interface name is normally "vmbrX" so i change the file ssh_brctl.py to "brctl showmacs vmbr0" now i ...
by vamp
Saturday 01 February 2020 17:50
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1092
Views: 188340

Re: Python plugin: Presence detection from wireless router

EscApe wrote: Friday 17 January 2020 17:39 @vamp
it would be great that this feature will be build in to the next release. (like "routeros-capsman")
It has been added to the newest version. Please let me know if there are any issues.
Hello, seems to OK :)
by vamp
Wednesday 29 January 2020 22:26
Forum: Design, usability and languages
Topic: machinon theme
Replies: 712
Views: 135596

Re: machinon theme

Hi, I have an issue with the latest version of the Machinon theme (1.15). The button to open the sub menus of Domoticz (switches, temperature, weather, etc.) is not visible anymore. So it is not possible anymore to open the sub menus. Tested on Chrome and Safari. Domoticz has been restarted after ...
by vamp
Thursday 16 January 2020 19:09
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1092
Views: 188340

Re: Python plugin: Presence detection from wireless router

@vamp and other Mirotik owners... If somebody use this plugin with Mikrotik and CAPsMAN it need to change this line to working: from CODE: SELECT ALL custom['routeros']="interface wireless registration-table print" to CODE: SELECT ALL custom['routeros']="caps-man registration-table print" It only ...
by vamp
Saturday 12 October 2019 20:05
Forum: Python
Topic: Python plugin: Presence detection from wireless router
Replies: 1092
Views: 188340

Re: Python plugin: Presence detection from wireless router

If somebody use this plugin with Mikrotik and CAPsMAN it need to change this line to working: from custom['routeros']="interface wireless registration-table print" to custom['routeros']="caps-man registration-table print" It only need to check the capsman manager not need to check all APs! it would ...
by vamp
Friday 05 July 2019 14:17
Forum: Zigbee
Topic: Xiaomi Smart Home Suite (very cheap) compatibilty?
Replies: 2452
Views: 512454

Re: Xiaomi Smart Home Suite (very cheap) compatibilty?

New Xiaomi device: https://www.banggood.com/Xiaomi-Linptech-110-240V-Wireless-Doorbell-Self-Generating-APP-Smart-Door-Bell-Transmitter-No-Battery-No-Power-Required-Memory-Function-works-with-Mijia-p-1506648.html?ID=6237080&cur_warehouse=CN Wireless Doorbell with kinetic button. The wifi version is ...
by vamp
Tuesday 30 April 2019 23:19
Forum: Design, usability and languages
Topic: machinon theme
Replies: 712
Views: 135596

Re: machinon theme

Hello there, On Floorplan, if i use a standalone humidity sensor, i see the old icon. https://i.imgur.com/65wUOPe.png If i use a device that is add more info (temp, humidity, etc..) it show the new icon. https://i.imgur.com/SZPP8Uq.png It possible to change the individual sensor to a new icon?
by vamp
Saturday 27 April 2019 21:55
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Ubuntu 19.04 & Domoticz
Replies: 2
Views: 3441

Re: Ubuntu 19.04 & Domoticz

Same problem, but after i install libssl i can not login and the web login interface is sometime available sometime not... I think a another problem is exist not only libssl.
by vamp
Thursday 18 April 2019 15:28
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

I already solve the problem, a very different way :)

I use Node-Red (inside Docker) so i catch the dummy switch state with MQTT and based the state, send a exec command to the docker host machine that run miio command (with ssh)

It working like a charm! :)
by vamp
Thursday 18 April 2019 8:47
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

Well i don't know... now visible that the script is start running, the question is why missing the " Got result" part?

Interesting thing. I got the same problem if i delete the quotation marks the part of

Code: Select all

'["on"]'
or replace it with single quotation mark. (in terminal)
by vamp
Thursday 18 April 2019 7:55
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

Thanks the help! Here my output: 2019-04-18 07:54:00.120 Status: dzVents: Info: miio: ------ Start internal script: teszt:, trigger: every minute 2019-04-18 07:54:00.120 Status: dzVents: Debug: miio: command for osExecute: cat miio.out 2019-04-18 07:54:00.126 Status: dzVents: Debug: miio ...
by vamp
Wednesday 17 April 2019 20:50
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

Any other ideas? Not really but would it be possible for you to add your xiaomi gateway as hardware to domoticz ? Unfortunately it this mode is not support alert on/off. Edit: I try to write it on python: #!/usr/bin/python import subprocess args = ['/usr/local/bin/miio', 'protocol', 'call', 'ID ...
by vamp
Wednesday 17 April 2019 13:25
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

Any other ideas?
by vamp
Monday 15 April 2019 23:09
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

Can you try with only one pair of single quotes ? see my previous post.
Yes, same result...

Code: Select all

vamp@ubuntu:~$ sudo /bin/bash -c '/usr/local/bin/miio protocol call 78823132 set_arming ["on"]'
 INFO  Attempting to call set_arming on ID

 INFO  Device found, making call

^C
by vamp
Monday 15 April 2019 22:47
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

returncode 512 points into the direction of an access violation. Can you try and change /usr/local/bin/miio protocol call ID set_arming '["on"]' > /dev/null 2>&1 & to /bin/bash -c '/usr/local/bin/miio protocol call ID set_arming ["on"] > /tmp/miio.out' this worked for me when I had a similar ...
by vamp
Monday 15 April 2019 21:46
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

Insert something like below on different places. echo "Bin here 1" > /home/pi/log.txt And change the number on the different places. Also redirect the output to the same file, instead of the ' > /dev/null 2>&1' This way you can track if the script is executed and where things go wrong. I put echo ...
by vamp
Monday 15 April 2019 21:37
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

I would like to run this script via dummy switch: #!/bin/bash /usr/local/bin/miio protocol call ID set_arming '["on"]' > /dev/null 2>&1 & exit 0 [/code] if you change exit 0 to exit $? you will see the actual returncode of the command Now it say: 2019-04-15 21:36:38.685 Status: User: admin ...
by vamp
Monday 15 April 2019 21:03
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Re: Script can not run inside Domoticz

jvdz wrote: Monday 15 April 2019 17:40 It does have the X attribute set?

Jos
It is the first thing in my list that i try :)

@emme it not help...:(
by vamp
Monday 15 April 2019 9:52
Forum: Bash / PowerShell / Batch etc.
Topic: Script can not run inside Domoticz
Replies: 26
Views: 6148

Script can not run inside Domoticz

Hello there, i would like to run this script via dummy switch: #!/bin/bash /usr/local/bin/miio protocol call ID set_arming '["on"]' > /dev/null 2>&1 & exit 0 The Domoticz log say that is run well, but nothing happen... I try: 1. chmod +x 2. script://start_alarm.sh 3. script:///home/user/domoticz ...