OpenMQTTGateway icon indicating copy to clipboard operation
OpenMQTTGateway copied to clipboard

Digoo DG-R8S not working with development branch

Open 1technophile opened this issue 5 years ago • 8 comments

Describe the bug Regression regarding Digoo DG-R8S support with ESPilight v0.17.0 DIGOO R8H is now supported with ESPilight :-), unfortunately, we can't receive anymore the values coming from R8S in v0.17.0 (was working in v0.16.2)

To Reproduce Steps to reproduce the behavior:

  • With Pilight v0.17.0 R8S KO, R8H OK
  • With Pilight v0.16.2 R8S OK, R8H (not supported)

KO = no data received

Expected behavior

  • With Pilight v0.17.0 R8S OK, R8H OK

Environment (please complete the following information):

  • OpenMQTTGateway development
  • Library ESPilight v0.17.0

Additional context Reproduced also by @tmcatalin https://community.openmqttgateway.com/t/digoo-dg-r8s-433mhz-battery-operated-temperature-and-humidity-sensor-with-embedded-display/287/72

1technophile avatar Nov 15 '20 19:11 1technophile

@melyux, @puuu I suppose that I should open an issue in the Pilight repository, unfortunately, it doesn't seem possible. Do you have some ideas regarding this issue?

1technophile avatar Nov 15 '20 19:11 1technophile

Same problem here.

hugokernel avatar Dec 10 '20 14:12 hugokernel

I have the same problem with my Weather Sensors using alecto_ws1700 or alecto_wsd17. OMG 0.9.5 with PiLight 0.17.0 is not working OMG 0.9.5 with PiLight 0.16.2 is working, had to made some changes in ZgatewayPilight.ino but after that i can use it with 0.16.2

derbrummbaer avatar Mar 04 '21 15:03 derbrummbaer

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 21 '21 02:07 stale[bot]

I don't have this one, I do have some that use Nexus but they're still working. I also noticed the Pilight repository has no ability to add issues, and I don't know why. There's a rewrite going on, maybe he's turned it off until then for some reason. The Pilight forums are an option, but they're sparse... the whole Pilight project is feeling too stodgy.

melyux avatar Dec 01 '21 19:12 melyux

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 07:04 stale[bot]

OK - I got this working with 0.17.0 as well - I've added some code to be able to enable/disable certain decoders in Pilight -

I found that my Digoo sensor decodes best with tfa and that the nexus decoder seems to interfere -

home/OpenMQTTGateway_ESP32_Pilight/commands/MQTTtoPilight msg: {"limitprotocols":["tfa","ev1527"]}

This makes use of the limitProtocols call within ESPilight, of course we might want to know what protocols are available

home/OpenMQTTGateway_ESP32_Pilight/PilighttoMQTT msg: {"availableprotocols":["x10","tfa30","tfa2017","tfa","teknihall","techlico_switch","tcm","smartwares_switch","silvercrest","selectremote","secudo_smoke_sensor","sc2262","rsl366","rc101","quigg_screen","quigg_gt9000","quigg_gt7000","quigg_gt1000","pollin","ninjablocks_weather","nexus","mumbi","logilink_switch","kerui_D026","iwds07","impuls","heitech","ev1527"]}

And what's enabled:

home/OpenMQTTGateway_ESP32_Pilight/PilighttoMQTT msg: {"enabledprotocols":["ev1527","tfa"]}

I'll raise a PR with some changes in it once I'm a bit happier with things... I do have questions about persistent storage - is there a standard in use for OMG at the moment? It would be best to save the limited protocols between reboots etc - also have questions about the MQTT topics and where things like the above should be posted and responded.. I feel that things like the enabled protocols, for example, should have it's own topic, do you have an example within OMG where similar is done?

steadramon avatar May 31 '22 20:05 steadramon

Thanks for the feedback!

I do have questions about persistent storage - is there a standard in use for OMG at the moment? It would be best to save the limited protocols between reboots etc -

Most of users publish the configuration with the retain flag, this way the published message is saved by the broker. If you want to keep it upon broker reboot also, you can activate persistence on broker side.

1technophile avatar Jun 01 '22 00:06 1technophile

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Oct 08 '23 00:10 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Oct 23 '23 00:10 github-actions[bot]