Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
TD-er
Core team member
Posts: 8750
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#11 Post by TD-er » 09 Feb 2018, 21:08

Domosapiens wrote: 09 Feb 2018, 18:16 Ohhh latest version of DST....
No experience with that yet (a TD-er contribution)

Advanced tab:
Global sync enabled?
A shared (=same) UDP port selected?
When in doubt, disable DST and then it's for sure the 'old' behavior :)


You're using quite long strings for the sensor values.
Perhaps for a test, try shorter ones?

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#12 Post by Domosapiens » 09 Feb 2018, 21:19

Space in the name of your node? ... Robs LCD in your last pic

RobsLCD as Node name and as Task name?
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#13 Post by robatbentley » 10 Feb 2018, 18:17

Re "Space in the name of your node? ... Robs LCD in your last pic". Removed space in unit name. Now called RobsLCD.
Re "RobsLCD as Node name and as Task name?" Renamed LCD device to LCD_THP.

Powered-down/up sequence for all nodes but no change.

Re "When in doubt, disable DST and then it's for sure the 'old' behavior". Deselected Advanced/DST for all nodes.

Powered-down/up sequence for all nodes but no change.

Re "You're using quite long strings for the sensor values. Perhaps for a test, try shorter ones?". Renamed sensor variables to BoxedT, BoxedH, BoxedP, IDT, IDH, IDP. ...and deleted all slave devices in each nodes device list.

Powered-down/up sequence for all nodes but still no slave devices appearing in the RobsLCD node. However, I did notice that the sensor variables have changed between the master node (e.g. BoxedTHP node) in that the master has variables BoxedT, BoxedH, BoxedP, but the slaved BoxedTHP node in the other nodes has variables called Temperature, Humidity and Pressure. ...but, the same story for the InDoorTHPSensor node is different in that the same variable names appear for both master and all slaves. I've attached screen-shots below. ...but don't know whether this is relevant.
PS Similar story for the luminosity sensor in that the master variable is called LSLux but the slaves reverted back to Lux
Attachments
BoxedTHPDeviceSummary20180210.JPG
BoxedTHPDeviceSummary20180210.JPG (65.7 KiB) Viewed 23987 times
RobsLCDDeviceSummary20180210.JPG
RobsLCDDeviceSummary20180210.JPG (45.62 KiB) Viewed 23988 times
Optical SensorDeviceSummary20180210.JPG
Optical SensorDeviceSummary20180210.JPG (65.04 KiB) Viewed 23991 times
InDoorTHPSensorDeviceSummary20180210.JPG
InDoorTHPSensorDeviceSummary20180210.JPG (67.85 KiB) Viewed 23992 times
RobUpNorth

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#14 Post by robatbentley » 12 Feb 2018, 14:03

Updated all sync'd nodes to ESP_Easy_v2.0-20180212_normal_ESP8266_4096.
...but still not fixed the problem.

I've also noticed that there is no Global Sync tick-box in the LCD_THP task settings, as per attached screen-shot. Not sure if there used to be but there are for all the other sensor nodes global sync'd (or attempted) to the LCD node. Was there a global sync tick-box in a previous build?
Attachments
LCDDeviceTaskSettings20180212.JPG
LCDDeviceTaskSettings20180212.JPG (76.11 KiB) Viewed 23964 times
Last edited by robatbentley on 12 Feb 2018, 20:27, edited 1 time in total.
RobUpNorth

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#15 Post by Shardan » 12 Feb 2018, 15:33

So let's start at a very basic point to find out what's going on.

You have GlobalSync enabled and set a common port to both devices, right?

Then let both devices run for a while and then check the "Main" page of the devices.
You will see the usual section with NTP activated, time is..., Free memory is .... and so on.
Beneath you should see a list of the ESPEasy devices in your net.

This list is there and correct (IP Asdresses)?

PS: No, the LCD has no "GlobalSync" box, that is correct.
GlobalSync needs a sensor giving values, the values are "pushed" to other devices.
A LCD does not give values at all.....

Regards
Shardan
Regards
Shardan

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#16 Post by robatbentley » 12 Feb 2018, 20:15

Re "You have GlobalSync enabled and set a common port to both devices, right?" ...Yes, tick box selected in Tools/Advanced and all nodes using common UDP of 65500.
Re "This list is there and correct (IP Asdresses)?" ...Yes, I can see all 4 IP adresses of all 4 nodes. ...and same list visible on all of the 4 nodes.

I'd like to emphasise the difference in behaviour when configuring global sync'ing a few months ago vs what's currently happening. The biggest difference is that after the power-down and then up sequence across all sync'd nodes, the slave device node sensor values do not appear in the RobsLCD node device list. They used to and wonder if their absence indicates a potential cause of the problem in the global syncing mechanism.
Attachments
BoxedTHPToolsAdvancedGS20180212.JPG
BoxedTHPToolsAdvancedGS20180212.JPG (74.45 KiB) Viewed 23937 times
LCDToolsAdvancedGS20180212.JPG
LCDToolsAdvancedGS20180212.JPG (71.75 KiB) Viewed 23938 times
LCDMainNodeList20180212.JPG
LCDMainNodeList20180212.JPG (75.08 KiB) Viewed 23940 times
BoxedTHPMainNodeList20180212.JPG
BoxedTHPMainNodeList20180212.JPG (75.52 KiB) Viewed 23941 times
RobUpNorth

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#17 Post by Shardan » 12 Feb 2018, 21:27

Hm... if all devices show up in the list the items are communicationg wich eachother.

I have another suspicion, honestly it's just a bit of prophecy, i might be wrong.
GlobalSync pushes the Value of for example Item 1 / Task 3 to another device, lets say Item 2 / Task 3.

So if i configure a BME280 on Task 3, this task should be left empty on the receiving device.
Remember: Every globalsync enabled device is a receiver!

If i see your config you have a lot of devices with globalsync enabled.
Some tasks are occupied but disabled - but they are not empty.
I'm not sure but this might cause some problems.

I'd suggest a simple test:
Set one single sensor device to another UDP port, for example 61234.
Set your display to the same port.
This divides these two devices away from all other UDP communication.
Configure the display on task 1 on the display device and leave all other tasks empty!
Configure the sensor(s) on the sensing device to task 2, task 3 and so on.
Enable sensor and tick globalsync only for these sensor(s), nothing else.

The sensor values should show up in the diplays device's task 2,3..... after a while - be patient, it takes some minutes.

If this config runs you may move the other sensors one by one to the new UDP port and configure accordingly.
Always remember that the task you set a sensor to must be empty on the receiving device (display).
It might get tricky as the tasks of the sensors must be different on all sensor devices.
So if your first BME runs on device 1 / task 2, the next BME on device 2 should not occupy task 2.
As ESPEasy has a max of 12 tasks you will run into some config limits soon: The values are pushed to
all (!) global sync enabled devices.

Regards
Shardan
Regards
Shardan

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#18 Post by robatbentley » 12 Feb 2018, 22:13

Right...! Think I've followed your instructions.
I've now configured the nodes RobsLCD (aka the display) and BoxedTHP (aka the sensor) to UDP 61234. I've left the other two sensors as they were (Optical Sensor and IndoorTHPSensor) with UDP 65500.
The resulting Main/Node List reflects the two groups of UDP nodes. See attached screen-shot

Re "Configure the display on task 1 on the display device and leave all other tasks empty!". Done! See attached image below.

Re "Configure the sensor(s) on the sensing device to task 2, task 3 and so on.". Done (I think...) ...as per attached image below.

Re "Enable sensor and tick globalsync only for these sensor(s), nothing else.". Turned off global sync (Tools/Advanced) on both Optical Sensor and InDoorTHPSensor nodes

Re "The sensor values should show up in the diplays device's task 2,3..... after a while - be patient, it takes some minutes." No, still can't see any (BoxedTHP) sensor values in the RobsLCD nodes Device task list after about 5 mins. See attached image.

Have a look at the images and see if you think I've followed your instructions correctly. The interesting aspect seems to be the lack of sensor task info in the display nodes device task list. Pretty sure they used to appear here in older builds of a few weeks ago. I'll have a play and see if I can go back to older builds to see where the changes appeared.
Attachments
RobsLCDMainNodeList20180212.JPG
RobsLCDMainNodeList20180212.JPG (67.06 KiB) Viewed 23917 times
RobsLCDDeviceSummary20180210.JPG
RobsLCDDeviceSummary20180210.JPG (45.62 KiB) Viewed 23918 times
BoxedTHPDevicesTaskListC20180212.JPG
BoxedTHPDevicesTaskListC20180212.JPG (54.76 KiB) Viewed 23923 times
RobsLCDDevicesTaskListB20180212.JPG
RobsLCDDevicesTaskListB20180212.JPG (43.77 KiB) Viewed 23925 times
BoxedTHPMainNodeList20180212B.JPG
BoxedTHPMainNodeList20180212B.JPG (64.12 KiB) Viewed 23927 times
RobUpNorth

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#19 Post by Shardan » 13 Feb 2018, 16:54

That is strange.
I'll get my hands on a test circuit as soon as possible and check.
Hopefully next weekend as I'm on the road this week.

Regards
Shardan
Regards
Shardan

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#20 Post by robatbentley » 13 Feb 2018, 17:04

I've experimented with a number ESP8266 nodes for the LCD nodes, flashing them from scratch. i.e. Flashing them with zeros and then with the ESPeasy build.

Summary of analysis: Having done the testing outlined below, I suspect the following...
* Firmware at or around v2.0.0-dev12 then global sync does work (i.e. slave sensor device appears in the LCD device list) and valid sensor values do appear on the LCD screen. However, I did have to submit null values of the sensor device on the sensor node to get this GS working.
* Firmware ESP_Easy_v2.0-20180212_normal_ESP8266_4096 does appear to GS (as per above) but I can't get the valid sensor values to appear on the LCD screen (see screenshot of LCD device list attached).
* The nodes I've tested had different responses to the zero-flash/firmware-flash in that some (via my smart phone) provided the IP address either after a 20 sec countdown or went straight to a "Welcome to ESP Easy Mega AP"showing the IP. Those in the latter group were more difficult to get global syncing working, if at all. Not sure whether this is down to me using cheap ESP8266 clones or what.

All the following tests were done with varying firmwares on the LCD node, but staying with ESP_Easy_v2.0-20180212_normal_ESP8266_4096 on the Sensor node.

LCD Node v1: (This is the node used in most of the above posts).
* All attempts at flashing v2.0.0-dev12 couldn't get 20s count-down, and global sync not work. Learning from nodes below, I submitted (no changes) the BoxedTHP device and the GS started working straight away.
* Reflashed to ESP_Easy_v2.0-20180212_normal_ESP8266_4096, deleted BoxTHP slaved device from the LCD_THP1 device list and submitted blank changes to the master BoxedTHPSensor device. This time, the slaved BoxedTHP slave device appeared in the LCD_THP1 list of devices with valid sensor values, but sensor readings did not appear in the LCD itself.
* Reflashed zeros and then ESP_Easy_v2.0-20180212_normal_ESP8266_4096 but no 20s countdown, just displayed IP same as last time. Reconfigured the LCD node and then submitted null changes to the BoxedTHPSensor resulting in the slave sensor device appearing in the LCD device list, but valid sensor values did not appear in the LCD itself.

LCD Node v2:
* Flashed to v2.0.0-dev12 firmware and got 20s countdown. Global sync worked. Upgraded firmware to ESP_Easy_v2.0-20180212_normal_ESP8266_4096 and global sync stopped working. Reloaded older firmware to v2.0.0-dev12 and GS started working again.

LCD Node v3:
* Flashed and couldn't get 20s countdown and GS not work. Changed UDP up and down but no apparent benefit. Then set LCD device Delay from 60 to 10 seconds, as per Boxed THP delay, and then GS started working!!!

LCD Node v4:
* Inital flash created IP address immediately (no 20s count-down), and couldnt get global sync to work. Reflashed and got 20s count-down but still not get global sync to work. Cycled through different UDPs (as per v5 below) but GS still not work. Then set UDPs to 61238 with no obvious effect. Then submitted BoxedTHP device with no changes and then GS started working

LCD Node v5:
* Initial flash provided the 20s countdown. GS not work immediately so change UDP from 61234 to 61235. still not work, then back to 61234 and GS started working.
Attachments
This is the LCD_THP1 device (GIT version: v2.0-20180212) device list showing the slave sensor device with valid sensor values. In this case, I still couldn't get sensor values to appear on the LCD screen.
This is the LCD_THP1 device (GIT version: v2.0-20180212) device list showing the slave sensor device with valid sensor values. In this case, I still couldn't get sensor values to appear on the LCD screen.
LCD_THP1Devices20180214.JPG (62.02 KiB) Viewed 23850 times
Last edited by robatbentley on 14 Feb 2018, 20:24, edited 24 times in total.
RobUpNorth

TD-er
Core team member
Posts: 8750
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#21 Post by TD-er » 13 Feb 2018, 19:18

If you exchange settings, are always the same physical devices causing problems?

Can you make a list of MAC addresses and IP-addresses of all nodes?
Just to make sure no 2 devices have the same.

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#22 Post by robatbentley » 14 Feb 2018, 20:49

Re "If you exchange settings, are always the same physical devices causing problems?" - The same physical devices change behaviour when settings are modified. However, any initialised device that doesn't go through the 20 sec countdown seems to have more problems re global sync.

...and details requested...

BME280 Sensor...
AP MAC: A2-20-A6-1C-0C-08
IP: 192.168.1.8

...and the LCD nodes...

LCD1:
AP MAC: A2-20-A6-1C-46-08
IP: 192.168.1.10

LCD2:
AP MAC: A2-20-A6-1B-2A-01
IP: 192.168.1.20

LCD3:
AP MAC: 62-01-94-1F-85-08
IP: 192.168.1.11

LCD4:
AP MAC: A2-20-A6-15-F5-08
IP: 192.168.1.4

LCD5:
AP MAC: 62-01-94-1F-7A-08
IP: 192.168.1.21
RobUpNorth

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#23 Post by Shardan » 17 Feb 2018, 19:46

I've made a simple test breadboard with two nodeMCU's and a BMP180 sensor from my shelf.

I've had the same problem as the thread opener - until I configured the sensor node to connect to my FHEM home controller and send data.
Then i get readings on the second node.

So it seems GlobalSync only works if the data transfer to a home controller is activated.

At dev's: Is this a bug or is that a feature? :)

Regards
Shardan
Regards
Shardan

TD-er
Core team member
Posts: 8750
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#24 Post by TD-er » 17 Feb 2018, 21:33

Shardan wrote: 17 Feb 2018, 19:46 [...]
So it seems GlobalSync only works if the data transfer to a home controller is activated.

At dev's: Is this a bug or is that a feature? :)
[...]
Sounds like a (serious) bug.
Will look into it.
I might be the one who introduced it.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#25 Post by Shardan » 18 Feb 2018, 02:44

^+1
Thanks
Regards
Shardan

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#26 Post by robatbentley » 18 Feb 2018, 14:41

...and a thanks from me too!
Can you let me know when there's something to try out?
RobUpNorth

TD-er
Core team member
Posts: 8750
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#27 Post by TD-er » 18 Feb 2018, 15:36

Ofcourse.
I was looking for this thread to link it into a new Github issue for fixing this.
Let's hope I get to it this evening.

TD-er
Core team member
Posts: 8750
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#28 Post by TD-er » 19 Feb 2018, 00:37

I've been looking through all the code for hours now and I find this part a bit strange:

Almost every call to a plugin with "PLUGIN_READ" will return 'success = true'. Well at least when a value is read.
Except P012_LCD.
That one returns "success = false"
Perhaps with the idea no value is being read.


In ESPEasy.ino in

Code: Select all

void SensorSendTask(byte TaskIndex)
There is a check which does a call with PLUGIN_READ:

Code: Select all

    if(Settings.TaskDeviceDataFeed[TaskIndex] == 0)  // only read local connected sensorsfeeds
      success = PluginCall(PLUGIN_READ, &TempEvent, dummyString);
    else
      success = true;

    if (success)
    {
      for (byte varNr = 0; varNr < VARS_PER_TASK; varNr++)
      {
        if (ExtraTaskSettings.TaskDeviceFormula[varNr][0] != 0)
        {
           [...]
        }
      }
      sendData(&TempEvent);
    }
This sendData does also do other things and eventually do a checkUDP().
It is being called from other controllers also, which may explain why it would work when some controller is enabled.

As a test, I will move the call to sendData outside the scope of the if(success) check, since the TempEvent is not changed within that if-scope.

See pull request https://github.com/letscontrolit/ESPEasy/pull/896

If someone could test it, that would be great :)

TD-er
Core team member
Posts: 8750
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#29 Post by TD-er » 19 Feb 2018, 09:39

I was just thinking about it. There are better ways to fix it, given it is the problem.

So if anyone could test it is a "fix", then I will write a better fix for it.
This will result in more updates than desired.

TD-er
Core team member
Posts: 8750
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#30 Post by TD-er » 19 Feb 2018, 23:14

Hopefully the last version of my pull request will result in less frequent unneeded updates.
Could someone test it?
https://github.com/letscontrolit/ESPEasy/pull/896

Eventually I want to change the way global sync is handled.
It is essentially just a controller and thus it should be treated as one, not as a special use case. Those will always lead to strange and hard to debug issues.
I don't like exceptions, especially in software design :)

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#31 Post by robatbentley » 21 Feb 2018, 18:29

Sorry TD-er, didn't see your update. I'll give it a test tonight.

Update: I rebuilt 2 x 8266 nodes (loaded with zeros and then the latest build of ESP_Easy_v2.0-20180221_normal_ESP8266_4096), one for the LCD (192.168.1.10) and the other for the BME280 (192.168.1.8) sensor.
I managed to get the global synch working as far as valid sensor values appearing in the LCD nodes device list. ...but still no sensor values appearing on the LCD itself. I tried my usual trick of submitting changes to the BME280 sensor but to no effect.

I noticed that the LCD device had a new option called "LCD command Mode:" but left this as the default of "Continue to next line (as in v1.4)"

I've attached a few LCD screen-shots (apologies for the repetition of some of them - can't get rid of them!) but if further details are needed then just ask. ...and if there's there're any changes you'd like me to test then get back to me again.
Attachments
LCDToolsInfo20180221.JPG
LCDToolsInfo20180221.JPG (91.4 KiB) Viewed 24371 times
LCDMain20180221.JPG
LCDMain20180221.JPG (59.45 KiB) Viewed 24374 times
LCDDevicesSummary20180221.JPG
LCDDevicesSummary20180221.JPG (61.33 KiB) Viewed 24374 times
LCDDevicesSummary20180221.JPG
LCDDevicesSummary20180221.JPG (61.33 KiB) Viewed 24376 times
RobUpNorth

robatbentley
Normal user
Posts: 69
Joined: 18 Mar 2017, 22:13
Location: Newcastle/UK

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#32 Post by robatbentley » 28 Feb 2018, 14:35

I've uploaded the latest firmware version ESP_Easy_v2.0-20180228_normal_ESP8266_4096 on both my LCD and sensor nodes but still the same problem.
Can anyone else duplicate this issue? ...as, so far, it seems to be just me with the problem.
RobUpNorth

Martinus

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#33 Post by Martinus » 14 Mar 2018, 20:31

Can you try with the latest version and check the logging on both sender and receiver. Use debug level DEBUG_MORE.
You should see stuff like this:

Sending unit
150500 : C013 : Send UDP message to 1
150511 : C013 : Send UDP message to 3
150521 : C013 : Send UDP message to 4
150532 : C013 : Send UDP message to 5
150543 : C013 : Send UDP message to 6
150553 : C013 : Send UDP message to 7
150624 : C013 : Send UDP message to 14
150634 : C013 : Send UDP message to 15
150665 : C013 : Send UDP message to 18
150786 : C013 : Send UDP message to 30

Receiving unit:
11678439 : UDP : 60:01:94:0F:A2:3F,192.168.0.102,2
11688458 : C013 : msg 5 2 18 10 10
11689498 : UDP : 5C:CF:7F:0F:50:BC,192.168.0.106,6
11690156 : C013 : msg 5 2 18 11 11

Check if the sending units actually sends a UDP message to the receiving unit.
And check if the receiving unit gets it. It should say C013: msg 5 x x x x

giobbe
Normal user
Posts: 19
Joined: 20 Mar 2017, 10:29

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#34 Post by giobbe » 17 Mar 2018, 16:29

Hi,
But does it work or not at today?
Thanks
Giobbe

blb4lci
New user
Posts: 2
Joined: 29 Jan 2018, 00:30

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#35 Post by blb4lci » 24 Mar 2018, 22:15

Martinus wrote: 14 Mar 2018, 20:31 Can you try with the latest version and check the logging on both sender and receiver. Use debug level DEBUG_MORE.
You should see stuff like this:
.......
Receiving unit:
11678439 : UDP : 60:01:94:0F:A2:3F,192.168.0.102,2
11688458 : C013 : msg 5 2 18 10 10
11689498 : UDP : 5C:CF:7F:0F:50:BC,192.168.0.106,6
11690156 : C013 : msg 5 2 18 11 11

Check if the sending units actually sends a UDP message to the receiving unit.
And check if the receiving unit gets it. It should say C013: msg 5 x x x x
Hi Martinus, I do see these messages on sending and receiving unit, but I don't get the task visible on the receiving unit. What Do I have to do to get this fixed?

Martinus

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#36 Post by Martinus » 25 Mar 2018, 15:58

blb4lci wrote: 24 Mar 2018, 22:15
Martinus wrote: 14 Mar 2018, 20:31 Can you try with the latest version and check the logging on both sender and receiver. Use debug level DEBUG_MORE.
You should see stuff like this:
.......
Receiving unit:
11678439 : UDP : 60:01:94:0F:A2:3F,192.168.0.102,2
11688458 : C013 : msg 5 2 18 10 10
11689498 : UDP : 5C:CF:7F:0F:50:BC,192.168.0.106,6
11690156 : C013 : msg 5 2 18 11 11

Check if the sending units actually sends a UDP message to the receiving unit.
And check if the receiving unit gets it. It should say C013: msg 5 x x x x
Hi Martinus, I do see these messages on sending and receiving unit, but I don't get the task visible on the receiving unit. What Do I have to do to get this fixed?
When UDP communication is ok, you should open and submit the sending device task. This should send a message with the sensor config data and receiving units should create a task automatically (but only if that task is unused!)

blb4lci
New user
Posts: 2
Joined: 29 Jan 2018, 00:30

Re: Global Sync with 20x4 LCD and BME280s - No info displayed on LCD

#37 Post by blb4lci » 26 Mar 2018, 09:39

Thanks Martinus, now it's working again! The task was already active on the sending unit before, now with the change of global sync to a controller it's nessesary to submit again, good to know.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 100 guests