Here are my notes and observations as a newbie to this hardware and package.
The inspiration for this activity came from Andreas Spiess Youtube video entitled OpenMQTTGateway Connects Many Things at your Home Automation at https://youtu.be/_gdXR1uklaY For me, this became a new, third way of interacting with 433MHz devices, the other two being the discrete Tx and Rx RF modules, and the Sonoff RFbridge especially after flashing it with Tasmota.
MQTT Mosquitto broker running as a service on Orange pi PC2
NodeRed V3 running on Orange pi PC2
HomeAssistant dockerized running on Raspberrypi4
Concerning the hardware
I ordered from aliexpress 2 units of LILYGO®TTGO LoRa32 V2.1 _ 1,6 versión 433/868/915Mhz ESP32 LoRa OLED 0,96 from the official Lilygo store. Cost to Spain was 47 USD including shipping. Whenever testing a new device I tend to buy at least 2 units.
First issue was an apparent confusion about the product naming and wondering whether I was sent the correct version.
Question 1: On the order and invoice it shows clearly “LILYGO TTGO LoRa32 V2.1_1.6 ” version, but the markings on the board are: T3_V1.6.1 20210104
Answer 1: LoRa32 V2.1.6 and LoRa32 V1.6.1 are the same product. The full name of his version is V18.104.22.168. V2.1.6 is defined from the perspective of product series, and V1.6.1 is defined from the perspective of hardware. Different names just omit part of the name, as replied by Henry from the LILYGO TEAM
Question 2: I bought 2 boards. One is already running OpenMQTTGateway and *SPOILER* works ok. The other has factory firmware. It loads with PAXCOUNTER V3.2.1 and seems to count wifi and ble, with the green LED flashing fast. However I did not find any documentation on how to interact with this factory loaded firmware.
Comparing the sensor messages from LoRa32 and SonOff RF Bridge
While the same sensors were captured on both hardware with similar latency (of a second or so), I noticed that the decoding of the data field from a remote example are presented slightly differently. For example: (TBD)
Since the dev board is based on a ESP32, it would be rather beneficial to get a firmware that not only includes the 433 MHz functionalities but also the BLE functionalities.
And why not dream big: an integrated firmware that incorporates 433, BLE and also IR so that from a single board we can operate a supergateway in a multimodal way for incorporation with NodeRed, HA and so on.
On a MacBookAirM1 that needed complete setup, after loading the drivers for the CH9102 serial port chip, the OpenMQTTGateway web installer worked perfectly fine. Hmmm, so I went back to the iMac15,1 running BigSur, downloaded the ch34xser_macos and installed. Voila! OMG Web install also worked perfectly on the configuration. So it was a group7 failure (“equipment not a fault”).
Amazon logistics – anecdote from a **real** customer experience, not corporate PowerPoint slides.
Jeff Bezos can bring you to outer space but his company appears to struggle to bring us a box from an Italian manufacturer to our Spain lake house in the madrid province, and keep the customer informed.
Here is the event log:
6 Jan 2023 – order placed in Amazon app. My credit card gets a 299 euros charge. Delivery date promised is “any time between 12 to 24 Jan from 9 to 10 pm”
17 Jan 2023 – transportation company calls and says we come tomorrow Wednesday. I explain we shall not be there, can you come on Friday? Yes, confirmed, thanks.
20 Jan 2023 – Friday so we drive 90km to the lake house to receive the delivery from Amazon. Once arrived I check the Amazon delivery status and see no indication that transport is enroute. I check for missed calls just in case and no one called.
Si I call back the delivery company to investigate and gave the Amazon tracking reference. They say no such delivery exist. I give the full details they still can’t find anything and tell me to ask the seller.
Contacting the seller soon became a waste of time as the method is a bot driven chat and it is so restricted that there was no way to explain the actual customer situación and need.
Called back the delivery company again indicating that amazon says delivery by Fercam. They pass me to another department. The new person repeats they don’t have any shipment matching the amazon shipment ID number. With more info they scrape their database and finally find a pending delivery that corresponds to my order and give me a different tracking number of only 6 digits adding that this is not theirs but Dascher Madrid. What is the in phone number ? It’s 916606566.
Calling 916606566, Dascher logistics announcements in Spanish and English then line is cut. Repeat same deal and line is cut again. Third time again same.
Called back Dascher Barcelona, explain the failure and they give me another number 916606677.
Calling 916606677 “the number does not exists”
Called back Dascher Barcelona again again and explain the latest fail and they give me yet another number for madrid office 916606500
Calling 916606500, after announcements I select customer service and finally they inform me that the agreed delivery for Friday today will not happen because the truck is broken
Can you send it with another truck?
No only one truck is assigned for amazon delivery in the zone and it is broken.
Why did you not call me so that I did not drive 90km to the lake house for nothing? No answer.
We can only deliver your shipment next monday.
Then came Monday. The driver shows up, brings the boxes inside the house (thank you!) and answers about the “broken truck”. “No no, we did not have any broken truck. On Fridays we never do this routing, this is why it is delivered today, Monday.”
Living dangerously… upgrading Node-RED to version 2.2.2 brought me a few surprises. But, all is well and smooth now.
Starting point – I was running on an OrangePiPC2 Node-RED 1.6 with node version 8. As the UI started to become sluggish, I thought an upgrade to version 2 would be a good idea.
I stopped node-red with the usual node-red-stop command and issued my usual npm install -g --unsafe-perm node-red node-red-admin and after execution, opened the browser at the usual URL for node-red and …. nothing. Reviewing the log, it was full of ERROR and WARNING messages.
Google is your friend – and the friend told me to update node. So it gave me a number of solution for each problem in turn. The final working ones are in the following list:
Node-RED not running after update – update Node
Node-RED not running after update – update Node
rbe node errors – go to .node-red/node_modules and npm remove node-red-node-rbe
Tasmota node not working – reconfigure the MQTT server details
When clicking on old .doc microsoft Word files on the MAC, in this case an iMac 27 5K running macOS Big Sur v11.6.5, a message “[filename] uses a file type that is blocked from opening in this version” may appear. This can be annoying. If you click on the link there is a suggestion from microsoft that the Word version does not have the latest update. However, I found the following workaround to work ok:
1. upload the file to google drive
2. then open it and download it in the odt format
3. open the odt file with Word on the mac and save it as docx.
Alternatively the following method also works
1. upload the file to google drive
2. then open it and save as a google docs
3. open the google doc and download as a .docx
4. open the docx on the Mac to verify.
DD: It was revealed that 38.000 retired persons have “disappeared”, i.e. no longer collect their monthly state pensions.
So it appears that trustable data is no longer available in Spain about COVID19 victims. On the other hand, there is a daily lot of scandals involving public servants that, in other areas, would have led to massive resignations. So far, only a top general of the Guardia Civil resign, in protest, against government interference in a judicial investigation.
AA: The minority coalition government had the 15-day state of alarm extension passed by a slim margin. The major opposition parties voted “NO” give the institutional abuses committed under the measure.
AA: Madrid and Barcelona have remained at “phase 0” (out of 4 phases) while most of the country has moved to phase 1 of the de-escalation. The motives of the “secret” COVID19 committees have not been communicated.
BB: Having been in contact with a Covid19 family member, we requested tests but were denied, without explanation.
CC: Following the 14-day quarantine announced by Spain for foreign visitors, France has reciprocated against all travellers originating from Spain. Meanwhile, Italy will reopen its borders from June 3rd, without any quarantine.
DD: The street protests against the central government, that were initiated in a posh district of the capital, have spread nation-wide, without major incidents