some differences between serial- and tcp-gateways.
-
when changing from a tcp gateway (wemos D1) to a serial gateway, i noticed that there must be some differences between the two gateways.
the serial interface does not connect S_Mutimeter and V_Voltage
the TCP gateway can do that without problemsi tried it with my own sketch as well as with MockMySensors.ino.
in mockMysSensors i activate 3 entities. one of them is S_Multimeter.
with the serial gateway only 2 entities are recognized
with the TCP Gateway all 3 entities are recognized.i use homeassistant version 2023.3.4
MySensors version 2.3.2who can help here?
best regards
brantherTranslated with www.DeepL.com/Translator (free version)
-
Hi Branther,
in the mockSensors, the battery state is sent at the very begining of the loop. HomeAssistant does not like this, I had this problem myself shortly. You have to send an initial value of each entity to HomeAssistant before you send something else. Try to move the sendBatteryLevel to the end of the loop.
Regards, Edi
-
sorry for my late reply. i don't have time to continue at the moment.
I will try to implement your suggested solution.the problem still exists and i will report back.
thanks for your feedback
best regards
branther
-
Sorry, also here you can close the post
it turned out that some components were defective.
it took me a long time to discover it and I disposed of the components.
serial gateway works flawlessly with my voltmeter un my motor vehicle.greetings
branther
-
@Branther Thank you for your feedback!
Suggested Topics
-
Code for beta-testing?
Controllers • 24 Mar 2014, 20:48 • andriej 9 Aug 2014, 10:44 -
sleep(0) in V2.1 doesn't sleep indefinitely anymore. Used to powerdown and sleep in V1.5
Bug Reports • 22 Nov 2019, 00:35 • GaryStofer 15 Apr 2023, 05:50 -
Making WiFiManager compatible with MySensors 2.3.2
Bug Reports • 12 Feb 2020, 21:43 • pihome 1 Jun 2022, 16:02 -
NRF51-52 PA not support ???
Bug Reports • 23 Feb 2019, 16:40 • berkseo 8 Jul 2021, 11:42 -
Boards esp8266 v3.1.0 or Newer Doesn't Work with MySensors
Bug Reports • 21 Feb 2023, 01:55 • d-smes 25 Feb 2023, 19:37 -
RFM95W sleep() directly after send() often doesn't sleep radio
Bug Reports • 1 Jan 2023, 18:41 • prawnpie 8 Jan 2023, 05:36