Search found 24 matches

by barry44
Saturday 22 June 2024 9:36
Forum: Temperature and Weather
Topic: Replace mysensors raingauge with tfa(rfxcom) not possible
Replies: 1
Views: 2480

Re: Replace mysensors raingauge with tfa(rfxcom) not possible

Hello

I finally directly modify the database to do it. I know it's not recommended at all, so big warning if you do that. And do backup !

I use this procedure
- stop domoticz
- backup the database
- with sqlite3, I update the rain_history table
update Rain_Calendar set DeviceRowID=1599 where ...
by barry44
Friday 21 June 2024 20:52
Forum: Temperature and Weather
Topic: Replace mysensors raingauge with tfa(rfxcom) not possible
Replies: 1
Views: 2480

Replace mysensors raingauge with tfa(rfxcom) not possible

Hello
Long time ago, I created a connected raingauge with mysensors.
After 5 yeas working like a charm, the body of the raingauge break. So I bought a new one. A TFA 30.3233.01
I added it with rfxcom easily.

I wanted to replace my old mysensors raingauge with the new one, to keep the history.
But ...
by barry44
Tuesday 06 February 2024 22:46
Forum: Z-Wave
Topic: ZWaveJSUI : Websocket integration instead of mqtt discovery
Replies: 6
Views: 1905

Re: ZWaveJSUI : Websocket integration instead of mqtt discovery


The advantage of MQTT Auto Discovery is that multiple projects use the same protocol. So Domoticz developers only have to program one protocol and all supporting platforms like Zwave-JS-UI, Zigbee2MQTT, ESPHome, ecowitt2mqtt, EsPurna, IOTLink, MiFlora MQTT Daemon, OpenMQTTGateway, Teleinfo MQTT ...
by barry44
Monday 05 February 2024 14:23
Forum: Z-Wave
Topic: ZWaveJSUI : Websocket integration instead of mqtt discovery
Replies: 6
Views: 1905

ZWaveJSUI : Websocket integration instead of mqtt discovery

Hello

I'm using zwavejsui since a few months, and it works great
I just post for a case in zwavejsui with a device that don't work as expected https://github.com/zwave-js/zwave-js-ui/issues/3570#issuecomment-1926986563

In the end of the case, they tell that the mqtt discovery is not the good way ...
by barry44
Tuesday 25 April 2023 21:02
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

Hello

Finally it's ok with a zwavejsui upgrade.
Now, HASS update works.
Changing position template works fine !

thank you for the idea @
cbartetzko wrote: Wednesday 05 April 2023 8:18
by barry44
Monday 10 April 2023 21:27
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

I've just find that
https://github.com/domoticz/domoticz/issues/5620

So the trouble is the position_template which could not be evaluated.
last beta seems to correct it. But I can't upgrade to last beta.

I'm still trying to update the hass, but it's not taken by zwavejsui. When I tried it (a few ...
by barry44
Sunday 09 April 2023 22:32
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

Me again

I've open domoticz source code. My last c++ is over 20 years at school :D A bit hard.
I started from "https://github.com/domoticz/domoticz/blob/2023.1/hardware/MQTTAutoDiscover.cpp" with this method
void MQTTAutoDiscover::on_message(const struct mosquitto_message* message)
The log ...
by barry44
Sunday 09 April 2023 19:09
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

Hello

I've done some new try today
I start domoticz in debug mode with
./domoticz -www 8080 -sslwww 443 -log "/var/log/domoticz.log" -loglevel all -debuglevel normal,auth,hardware,received,webserver,eventsystem,python

And I collect the trace from "salon2" which is the new name after delete and ...
by barry44
Friday 07 April 2023 21:22
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

Hello

It does not change anything
Here is the new paramaters
fgr222-zwavejsupdate.png

I open the roller shutter with domoticz to 19%. Then I closed it with remote control
The status is still open at 19% in domoticz
fgr222-open.png

The status is OK in zwavejsui
fgr222-zwavejsmultilevel.png ...
by barry44
Wednesday 05 April 2023 18:32
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

Hello

I m not at home today. I ll try it friday and tell you.
by barry44
Tuesday 04 April 2023 23:50
Forum: MQTT Auto Discovery
Topic: MQTT ZwaveJsUi and Zwave Notification : Enhancement
Replies: 2
Views: 530

Re: MQTT ZwaveJsUi and Zwave Notification : Enhancement

Thank you for your workaround.
I'm not very familiar with HASS Device JSON Definition. But I will learn :)

With aeotec workaround, it's ok too.

I submit this enhancement to make it easier for all users
by barry44
Tuesday 04 April 2023 23:37
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

Here is the screenshot of position
fgr222Position.png

And it's exactly the same for current
fgr222current.png
And current is working (updated in domoticz). Both are with zwave prefix.

Am I missing something ?
My other sensors are working in the same way (dimmer for example, data are in zwave ...
by barry44
Tuesday 04 April 2023 22:43
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

The device is present and working in domoticz
If I send command from domoticz, it works. The roller shutter open and close.

What does not work is the position returned when I change via remote controller (so directly to the device, without domoticz commanding it). It's the same if i use a switch ...
by barry44
Monday 03 April 2023 22:53
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

I have re checked with mqtt explorer when doing rediscover

Here is the topic generated
{
"command_topic": "zwave/25/38/0/targetValue/set",
"position_topic": "zwave/25/38/0/currentValue",
"set_position_topic": "zwave/25/38/0/targetValue/set",
"position_template": "{{ (value_json.value / 99 ...
by barry44
Monday 03 April 2023 22:18
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

Re: FGR222 state update not working

Hello

I've tried rediscovering currentValue, but still the same problem.
The log shows the rediscovering, but after, only power is updated.
Tried with cover_position and switch_switch in Home Assitant view.

2023-04-03 22:10:28.037 Status: MQTTAuto: discovered: VoletSalon2/VoletSalon2_position ...
by barry44
Sunday 02 April 2023 18:50
Forum: MQTT Auto Discovery
Topic: FGR222 state update not working
Replies: 14
Views: 1586

FGR222 state update not working

Hello

I have FGR222 Roller Shutter.
They are associated via a group on a zwave remote control.
When I hit the key of the remote control, the roller shutter works normally (open / close / open during press, stopping when I release the key)

But when I change state via the remote control, the state ...
by barry44
Monday 20 March 2023 21:42
Forum: MQTT Auto Discovery
Topic: MQTT ZwaveJsUi and Zwave Notification : Enhancement
Replies: 2
Views: 530

MQTT ZwaveJsUi and Zwave Notification : Enhancement

Hello

I recently post my misadventure with Zwave Sensor using by defaut Access Control to send door state
The original post is here : https://www.domoticz.com/forum/viewtopic.php?t=40115

So, I just post here too to ask for en enhancement to manage those devices. Is it possible to bind the door ...
by barry44
Thursday 16 March 2023 23:04
Forum: Z-Wave
Topic: Aeotec Gen5 Stick S0keys
Replies: 1
Views: 414

Re: Aeotec Gen5 Stick S0keys

Hello

Are you using OpenZwave, directly integrated to domoticz ?
If yes, i'm not sure it supports last security mode.
OpenZwave is no more maintained from 2 or 3 years.

The security key was set on the controller.
So, Hardware page, you add Zwave, then there is a settings button, near openzwave ...
by barry44
Thursday 16 March 2023 22:49
Forum: Switches and Scenes
Topic: Switch (Door) and Zwave Notification Not Working. Only Binary Sensors but deprecated
Replies: 3
Views: 5048

Switch (Door) and Zwave Notification Not Working. Only Binary Sensors but deprecated

Hello

I recently bought a ZWA011 sensor (Aeotec Zwave Door Sensor).
I had it to zwavejsui, and with MQTTAuto, domoticz add me 5 devices (4 switches and 1 text).
The 4 switches devices are for Window State, Tamper State, Battery Level and Motion Sensor Status.
The text device is "notification_access ...
by barry44
Sunday 06 February 2022 9:47
Forum: Z-Wave
Topic: Fixing Z-Wave for once and for all!
Replies: 218
Views: 46984

Re: Fixing Z-Wave for once and for all!

Ohhh, great news

Thank you :)