Search found 16 matches

by breizhcat
Friday 17 February 2023 8:32
Forum: Python
Topic: Govee support
Replies: 17
Views: 5513

Re: Govee support

Hi @galadril

Here the export of my NodeRed : https://pastebin.com/VgPbxM7K
by breizhcat
Tuesday 07 February 2023 11:51
Forum: Python
Topic: Govee support
Replies: 17
Views: 5513

Re: Govee support

Hello

Thanks for the information.
I put in place a virtual switch that I managed thanks to MQTT and Node-Red.

Image

And it works fine :)

Maybe I will dig a bit further the documentation to use RGB values etc.
by breizhcat
Friday 06 January 2023 16:43
Forum: Others
Topic: Use Xiaomi Sensors w/o Mi Gate
Replies: 7
Views: 1550

Re: Use Xiaomi Sensors w/o Mi Gate

Yes but the data is encrypted during exchange (fortunately!)
by breizhcat
Saturday 31 December 2022 19:52
Forum: Others
Topic: Use Xiaomi Sensors w/o Mi Gate
Replies: 7
Views: 1550

Re: Use Xiaomi Sensors w/o Mi Gate

Hi

Since few versions you cannot retrieve the password. But if it works well in your current domoticz configuration you can retrieve the password.
Here a short video:


Hope it helps.
by breizhcat
Thursday 08 September 2022 19:25
Forum: Python
Topic: [Module]Nissan Leaf 2
Replies: 12
Views: 2229

Re: [Module]Nissan Leaf 2

Hello !

@josemi:
I take into account your changes in my branch and I also add a new device to provide cabin temp.

@wimw1953:
I tried this repo but I'm in Europe and it seems that it doesn't work for me.

Thanks
by breizhcat
Wednesday 22 June 2022 20:02
Forum: Python
Topic: [Module]Nissan Leaf 2
Replies: 12
Views: 2229

Re: [Module]Nissan Leaf 2

Hello

Are you in Europe? Because it seems that the API has changed for US and my plugin is not working anymore for US/CA.

Thanks

[EDIT] I have read again your message and I found my answer alone :) Sorry. Can you enable log and copy/paste the result?
by breizhcat
Friday 05 November 2021 22:33
Forum: Other questions and discussions
Topic: How to change AddDBLogEntry parameter on existing counters?
Replies: 3
Views: 332

Re: How to change AddDBLogEntry parameter on existing counters?

Hi AFAIK AddDBLogEntry option is avaible only when you create your own plugin and your devices. Once it's created you juste have to manage data. Another way to achieve this maybe: Update the domoticz.db file with sql statement. You won't be tied to the device and free to add any kind of entries. But ...
by breizhcat
Thursday 04 November 2021 9:36
Forum: Other questions and discussions
Topic: How to change AddDBLogEntry parameter on existing counters?
Replies: 3
Views: 332

Re: How to change AddDBLogEntry parameter on existing counters?

Hello

You can try to use API/Json provide by Domoticz.
https://www.domoticz.com/wiki/Domoticz_ ... mart_meter

You have to provide device Id and values. Then no device will be created and the current device will be updated.

BR
by breizhcat
Monday 20 September 2021 20:35
Forum: Python
Topic: New plugin development questions
Replies: 2
Views: 561

Re: New plugin development questions

Hi

I had the same issue with one library that i have installed through pip.
Unable to use it within my plugin. As it was a tiny library i put it directy into my plugin.py file as workaround.

I would like to have feedback and maybe a solution.

Br

Envoyé de mon Mi 9T Pro en utilisant Tapatalk

by breizhcat
Monday 12 July 2021 14:15
Forum: Python
Topic: [Module]Nissan Leaf 2
Replies: 12
Views: 2229

[Module]Nissan Leaf 2

Hello, After some search on web, I have found an API and a Python package to allow me to get informations from my car (Nissan Leaf 2). You only need to have a account on Nissan+You Therefore, I tried to make my own plugin. My repo for my module https://github.com/BreizhCat/DomoticzNissanLeaf. It's ...
by breizhcat
Tuesday 22 June 2021 13:59
Forum: Python
Topic: Python Plugin / Managed Counter device
Replies: 6
Views: 733

Re: Python Plugin / Managed Counter device

azonneveld wrote: Tuesday 22 June 2021 11:30 Not an answer to your question, but please change "Distance drived" to "Distance driven"
Yes ! Thanks :)
by breizhcat
Tuesday 22 June 2021 9:46
Forum: Python
Topic: Python Plugin / Managed Counter device
Replies: 6
Views: 733

Python Plugin / Managed Counter device

Hello! I'm trying to implement my own plugin. To achieve my needs, I would like to have a managed counter. It works fine but I'm currently not able to add a divider when I create my device. Domoticz.Device(Name= 'Device Name', Unit=DEVICE_ODOMETER, Type=243, Subtype=33, Switchtype=3, Options ...
by breizhcat
Tuesday 07 July 2020 18:28
Forum: Cameras
Topic: script to take screenshot every hour
Replies: 9
Views: 1443

Re: script to take screenshot every hour

With the bbcode like xml tag but between [. You have to open the tag code put your code and close it.

Envoyé de mon Mi 9T Pro en utilisant Tapatalk

by breizhcat
Tuesday 07 July 2020 18:14
Forum: Cameras
Topic: script to take screenshot every hour
Replies: 9
Views: 1443

Re: script to take screenshot every hour

For me you have to add these 2 lines. 1st allow you to change the owner of the file and 2nd change the auth on the file.

Code: Select all

chown user:group your_file
chmod 755 your_file


Envoyé de mon Mi 9T Pro en utilisant Tapatalk


by breizhcat
Tuesday 07 July 2020 18:06
Forum: Cameras
Topic: script to take screenshot every hour
Replies: 9
Views: 1443

Re: script to take screenshot every hour

Thanks I will test it with my cameras

Envoyé de mon Mi 9T Pro en utilisant Tapatalk

by breizhcat
Tuesday 07 July 2020 17:57
Forum: Cameras
Topic: script to take screenshot every hour
Replies: 9
Views: 1443

Re: script to take screenshot every hour

Hi

I guess that the user used by domoticz to run is root. You can change the rights at the end of your scripts and the owner too with chmod and chown.


Btw, is it possible to share your script i'm interested by this idea.

Thanks

Envoyé de mon Mi 9T Pro en utilisant Tapatalk