I feel like this issue has been addressed before but I couldn't find anything specific when I searched.
I have the MeshChat API loaded on a Mikrotik hAP ac lite (10.30.31.113) and the actual MeshChat app running on an Rpi 4.
I can send a message and it propagates to other nodes in the same zone on the mesh. The issue is I don't receive messages from any other nodes in the same zone.
I'm guessing I have a path or something not configured correctly but I don't know what to correct to fix it.
Suggestions will be greatly appreciated.
http://n5mxi-pi.local.mesh/meshchat
Which AREDN release is running on the Mikrotik hAP ac lite?
Which meshchat_api release is installed on the Mikrotik hAP ac lite?
(Lua version of Meshchat for AREDN ≥3.22.6.0
meshchat-api_2.9_all.ip ?)
Confirm meshchat_1.02_all.deb is installed on the RPi.
Is everyone using the same 'pi_zone'?
(our $pi_zone = 'MVMchat'; ?)
Which AREDN release is running on the Mikrotik hAP ac lite?
AREDN 3.23.8.0
MikroTik RouterBOARD 952Ui-5ac2nD (hAP ac lite)
Which meshchat_api release is installed on the Mikrotik hAP ac lite?
(Lua version of Meshchat for AREDN ≥3.22.6.0
meshchat-api_2.9_all.ip ?)
meshchat-api 1.02
Confirm meshchat_1.02_all.deb is installed on the RPi.
Is everyone using the same 'pi_zone'?
(our $pi_zone = 'MVMchat'; ?)
MeshChat
N5MXI-David (HH #50038)
Not saying that this is the case, but take a look at the time on the nodes involved. If you don't have an NTP server on the mesh network, the nodes don't keep consistent times with one another and if the time varies too much the message database will fail to sync. You can find the code here https://github.com/hickey/meshchat/blob/e2170a4eb1f79b00121fb2e6dea8fe1171c53f4e/meshchatlib.lua#L129-L137.
I would highly recommend setting up one or more NTP servers on the mesh network--preferably on Linux boxes as they have real time clock hardware where as nodes do not. Then setup each of the nodes to point to the NTP servers to insure that all the clocks are coordinated.
AREDN Configuration
If you had previously installed MeshChat 1.02 on a Raspberry PI or Linux machine and later upgraded your node to 3.22.6.0, you may notice that MeshChat stopped synching. The following instructions have been updated to help fix that.2)
Install the meshchat-api package Note that this part will need to be done everytime the node is upgraded. :
From the Port Forwarding, DHCP, ans Services page: