Search found 22 matches

by napo7
Monday 18 December 2017 17:14
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 187
Views: 34606

Re: Python plugin: Xiaomi Mi Robot Vacuum

It seems that you already have a newer version of python3 installed.
Thus, apt is not able to install an older version without breaking it !
Did you installed python3 from a .deb file ? From another repo ?
try manually remove python3 and then reinstall it via apt .
by napo7
Monday 18 December 2017 15:55
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 187
Views: 34606

Re: Python plugin: Xiaomi Mi Robot Vacuum

It seems that some already installed package is blocking it !
try to do

Code: Select all

sudo aptitude install python3-dev
It should be more informative of why it can't be installed !
by napo7
Saturday 16 December 2017 17:01
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 187
Views: 34606

Re: Python plugin: Xiaomi Mi Robot Vacuum

Can you copy/paste the first 200 lines of your domoticz log (just after startup) ?
by napo7
Friday 15 December 2017 15:13
Forum: Bugs and Problems
Topic: Error Domoticz received fatal signal 11 (python plugin system related)
Replies: 44
Views: 5354

Re: Error Domoticz received fatal signal 11 (python plugin system related)

Last beta (and previous also...) crashes with every python plugins.
Devs are searching the reason...
by napo7
Friday 15 December 2017 15:12
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 187
Views: 34606

Re: Python plugin: Xiaomi Mi Robot Vacuum

Can you show us the listing of the "plugins" directory inside your domoticz installation ?

In this folder, you should have a "xiaomi-robot" folder or so. Can you also show us the content of this folder ?
by napo7
Friday 15 December 2017 10:02
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 179
Views: 27859

Re: Python Plugin: Smart Virtual Thermostat

Yes, it's a know feature of the latest beta ;)
Every python plugins makes it crashing...
Devs are still searching the cause... Wait a moment ;)

I can also confirm that the stable release doesn't have the problem.
by napo7
Saturday 02 December 2017 0:23
Forum: General Discussion
Topic: Events programming - Python, Lua or dzVents?
Replies: 4
Views: 948

Re: Events programming - Python, Lua or dzVents?

Having tried both python , Lua and dzvents.
Python is my favorite language, but it misses a lot of functionality brought by dzvents.
Lua would probably be my second choice...

Envoyé de mon KIW-L21 en utilisant Tapatalk

by napo7
Tuesday 28 November 2017 12:17
Forum: Python
Topic: Python plugin: Xiaomi Mi Robot Vacuum
Replies: 187
Views: 34606

Re: Python plugin: Xiaomi Mi Robot Vacuum

It seems that every python plugin are crashing on beta version on domoticz. I had to go back to stable, because beta has memory leaks, and python does crash. Now you are running server outside domoticz, could you backport this to stable ? I think it should work... EDIT : It seems I speak a bit too q...
by napo7
Tuesday 21 November 2017 11:23
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 179
Views: 27859

Re: Python Plugin: Smart Virtual Thermostat

It seems there is problems with latest betas and python plugins.
The devs are searching around this.
Not only this plugin is failing, almost all python plugins are !
by napo7
Thursday 16 November 2017 10:10
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 179
Views: 27859

Re: Python Plugin: Smart Virtual Thermostat

The sensor has always been updated on 14/11 ... Need to find another clue ;)
by napo7
Thursday 16 November 2017 9:56
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 179
Views: 27859

Re: Python Plugin: Smart Virtual Thermostat

You spotted it ! It was OFF !!!! The most weird thing is that I never turned it off... Searching the logs , I see it turned off on 14/11 17h15, but I don't see anything, except that domoticz seems to have crashed at 17h14. The thermostat logs jumps from 17h14 to 17h16, and nothing seems to eplain wh...
by napo7
Thursday 16 November 2017 9:10
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 179
Views: 27859

Re: Python Plugin: Smart Virtual Thermostat

Hi, Strange behavior this night , I woke up with a cold house :( .... Perhaps I'm missing something !! Here is the log : ... 2017-11-16 07:10:31.644 (Thermostat Salon) Calling message handler 'onHeartbeat'. 2017-11-16 07:10:31.645 (Thermostat Salon) Thermostat temperature update called 2017-11-16 07...
by napo7
Wednesday 15 November 2017 12:09
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 179
Views: 27859

Re: Python Plugin: Smart Virtual Thermostat

Did not worked for me...Still crashing this morning after forcing update of the script.

I'll disable it to be sure it is this script that cause failing !
by napo7
Tuesday 14 November 2017 22:46
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 179
Views: 27859

Re: Python Plugin: Smart Virtual Thermostat

Hi,

I experienced the same problem.
I was thinking at first that it was related to xiaomi-robot vacuum, but I had disabled this plugin first, and still experiencing the same error.

Experienced this on Beta version.
by napo7
Wednesday 25 October 2017 11:36
Forum: MySensors
Topic: Mysens low performances
Replies: 7
Views: 1711

Re: Mysens low performances

Hi,

This is not a domoticz related issue, but a mySensors issue.
You should try to ask on the MySensors forum.
by napo7
Thursday 19 October 2017 16:48
Forum: Heating/cooling
Topic: Python Plugin: Smart Virtual Thermostat
Replies: 179
Views: 27859

Re: Python Plugin: Smart Virtual Thermostat

Hi @LogRead, I think there is a bug in the code : Line 316-317, there is : if (power > 0) and (power <= self.minheattime): power = 0 # Seuil mini de power I think it should be : if (power > 0) and (power <= self.minheattime): power = self.minheattime # Seuil mini de power Without this, the "minHeatT...
by napo7
Monday 20 March 2017 17:32
Forum: MySensors
Topic: Best way to handle push buttons
Replies: 4
Views: 3361

Re: Best way to handle push buttons

I completely changed my way of doing things :
Instead of coding (most) simple actions in domoticz, each button node is setup to send an "action" command to its assigned light.

Only advanced actions are passed to domoticz for event scripts.
by napo7
Monday 06 March 2017 22:42
Forum: MySensors
Topic: Error in dimmer value
Replies: 4
Views: 1238

Re: Error in dimmer value

Same issue for me :

I did present my dimmer as following :

Code: Select all

	// Present the device :
	present(0, S_DIMMER );
but Domoticz see it as "Lighing 2" so only 16 dimmers levels !?

How can we change this (present something else ??) so domoticz see it as a "100 levels dimmer" ?
by napo7
Monday 06 March 2017 11:07
Forum: MySensors
Topic: Update Arduino code without becoming a new node in Domoticz?
Replies: 5
Views: 1487

Re: Update Arduino code without becoming a new node in Domoticz?

I noticed that using an USBASP with arduino IDE does clear the EEPROM memory.
To keep my nodes ID, I have to dump the EEPROM before updating (via avrdude command line), flash my new program, then write back my EEPROM dump.
by napo7
Thursday 09 February 2017 16:11
Forum: MySensors
Topic: Best way to handle push buttons
Replies: 4
Views: 3361

Re: Best way to handle push buttons

Hi, I saw this post, and already can manage the arduino to get and send 3 states to mysensors (PULSE, HOLD, RELEASE). My main concern is "how to handle those events in domoticz" : For a small example, with my custom-made home automation system, I actually have the following script : IF button_state=...