Search found 56 matches

by mrinner
Wednesday 10 October 2018 16:39
Forum: Speech & Voice Systems
Topic: Controlicz - Domoticz to Google Home/Assistant integration
Replies: 2277
Views: 523761

Re: Controlicz - Domoticz to Google Home/Assistant integration

Madgeni,
Thanks, seems I fixed issue on my side with ECONNRESET.
by mrinner
Wednesday 10 October 2018 15:42
Forum: Speech & Voice Systems
Topic: Controlicz - Domoticz to Google Home/Assistant integration
Replies: 2277
Views: 523761

Re: Controlicz - Domoticz to Google Home/Assistant integration

Hi Madgeni,

I got error on add "Controlicz" app in google home app (ghome mini).
Subscribed on monthly for testing.
Also another issue - ECONNRESET on "Devices" page, sometimes is ok after refresh.
by mrinner
Friday 26 January 2018 21:52
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 311
Views: 118580

Re: Python plugin: Xiaomi Mi Robot Vacuum

@RichardBokker did you installed python3-pip with sudo? "sudo apt-get install python3-pip" If yes, pip3 cmd should be available 100% :) Then, cd xiaomi-mirobot # plugin folder virtualenv -p python3 .env # creating environment for python libs source .env/bin/activate # activating environment, only ...
by mrinner
Friday 26 January 2018 21:36
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

@chrispazz

I'm on 3.8805 - my setup works perfect.
Many people have problems with the python plugin system on latest beta...
by mrinner
Tuesday 26 December 2017 9:58
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 311
Views: 118580

Re: Python plugin: Xiaomi Mi Robot Vacuum

Hi,

You can use python-miio lib for IR and other devices which supported... Also you can modify this plugin for support IR.
I have an idea to do plugin which will support all devices which supports python-miio, but for this need to have all this devices for testing.
by mrinner
Saturday 16 December 2017 7:15
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 311
Views: 118580

Re: Python plugin: Xiaomi Mi Robot Vacuum

@Noka
Folder structure looks good.
Which version domoticz? Plugin for 8.153+. Also, maybe you has compiled domoticz without python support? I mean python was not installed when you compiled domoticz? Also need to restart domoticz after plugin installation.
by mrinner
Friday 15 December 2017 20:21
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

@schulpr You can rename created devices as you want, plugin does not relying on name. First log was immediately after the reboot and log did not grow anymore and "sudo service ble_scanner status" is "active (running)"? Check what you not run 2 services on the one machine, or some other process maybe ...
by mrinner
Friday 15 December 2017 10:33
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

Go to the plugin folder "bt-presence", then "git pull" Then "nano ble_scanner.sh" and uncomment lines + check path to log file: DAEMON_ARGS="$DAEMON_ARGS --log /home/pi/domoticz/plugins/bt-presence/ble_scanner.log" DAEMON_ARGS="$DAEMON_ARGS --loglevel debug"
by mrinner
Friday 15 December 2017 7:39
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 311
Views: 118580

Re: Python plugin: Xiaomi Mi Robot Vacuum

@Noka

Did you add hardware with name 'Xiaomi Mi Robot Vacuum' in domoticz? If you did it - check the devices menu, all devices should be created anyway, with test or without. If test goed fine the plugin would works fine:)
by mrinner
Thursday 14 December 2017 13:48
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

@schulpr

Logging in file added. Just git pull updates and uncomment lines in ble_scanner.sh
by mrinner
Monday 11 December 2017 11:07
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

In logs I see several attempts to startup and seems like hci0 was not ready. In the domoticz log I see a lot of lines with: Calling message handler 'onHeartbeat'. in Debug plugin mode this is ok. Plugin checks timeout expiration on each heartbeat. I will add debug logging in file as option for ble ...
by mrinner
Sunday 10 December 2017 8:11
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

Can you see which status when service not started:
sudo service ble_scanner status

Also then try to run "hciconfig" without "sudo" and check string "RUNNING" in output.
by mrinner
Saturday 09 December 2017 20:38
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6168

Re: Stability with Python Plugins

I tested on 2 dev machine the same set of plugins,
first with Ubuntu 16.04 with latest apt-get upgrades and latest beta - sometimes crashes
second with Ubuntu 16.04 without apt-get upgrades and latest beta - without crash for 4 days
by mrinner
Saturday 09 December 2017 20:31
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

@schulpr

ble_scanner.sh added as service?
If yes, try to update locally this line in ble_scanner.py to 10+ attempts.
https://github.com/mrin/domoticz-bt-pre ... er.py#L177
By default ~ 25sec (5 attempts * 5sec sleep) for check hci is RUNNING.
by mrinner
Wednesday 06 December 2017 22:34
Forum: Other questions and discussions
Topic: How to check presence of Beacon ?
Replies: 371
Views: 86392

Re: How to check presence of Beacon ?

Python plugin for Beacon detection with multi-scanners:
viewtopic.php?f=65&t=20577
by mrinner
Tuesday 05 December 2017 21:53
Forum: Python
Topic: Stability with Python Plugins
Replies: 29
Views: 6168

Re: Stability with Python Plugins

by mrinner
Tuesday 05 December 2017 19:36
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

Seems there is only 1 way to support stable domoticz -> change connection type to TCP/IP for plugin and ble_scanner. UDP used as more easy way without any connections/reconnections etc...
by mrinner
Tuesday 05 December 2017 16:10
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

@EddyG Check the old version of manual for plugin framework: https://www.domoticz.com/wiki/index.php?title=Developing_a_Python_plugin&oldid=9058 udpConn.Connect() is not right way, plugin should just listen incoming UDP packates. You cannot connect to udp:) this is not tcp/ip. Also check the ...
by mrinner
Monday 04 December 2017 15:42
Forum: Python
Topic: Python plugin: Bluetooth Beacon Presence Detection
Replies: 57
Views: 15121

Re: Python plugin: Bluetooth Beacon Presence Detection

@EddyG

Checked today with 3.8153
'UDP/IP', 127.0.0.1:2221
The same on stable release.

Also added small fix for support old api domoticz plugin frameworj of stable release.
by mrinner
Monday 04 December 2017 14:22
Forum: Python
Topic: Python plugin: Mikrotik RouterOS
Replies: 13
Views: 7785

Re: Python plugin: Mikrotik RouterOS

Plugin update 0.1.0

Whats new:
* Manage interface status (status and manage in realtime)
* new core lib for communication with mikrotik for work in non-blocking mode (uses native domoticz framework connection)