Post by papa on Sept 29, 2021 19:41:18 GMT
Troubleshooting Feedback from Ruben
- I can't send messages to the OLED screen. The program is compiled and send it to LilyGo with the ENABLE_SSD1306 defined. I am not still using OpenHAB for this (all itrms are working ok on OH), because I like to test before. I am using MQTT Explorer so I can see all messages on the MQTT Mosquito server. I have tried sending with topic home/esp_gw/sb/node30/dev72 and topic home/esp_gw/nb/node30/dev72, but none of them prints anything on screen apart from original message. I have also tried messages with "1:xxx" and "1,xxx" (as you mention "colon" in some explanation). On MQTT I see a topic send by device with topic "home/esp_gw/nb/node30/dev72" that always have "text received", if I send something to this topic, change for some seconds, but again turns to "text received", nothing apears on screen.
- On the other hand, if I point my browser to the device IP, I am able to see the camera, but I can't see it on sitemap directly with Image tag. I have other IP cameras that can see without any problem, and I am also able to see it if I put his IP on your 4 cameras sample html. But not directly on OpenHAB Image tag. Very extrange. I am also surprised, because the image is not really a "still image", maybe the problem is that is some mpeg stream? It works for you with Image tag on sitemap?
In any case, thanks very much, I can dig on the Esp32 code to resolve the issues, but probably asking first is better.
Next, Papa's Response
Thanks a lot again, I have now it working, but I have some issues that I want to ask you before digging on source code, because maybe is more easy to ask:
- I can't send messages to the OLED screen. The program is compiled and send it to LilyGo with the ENABLE_SSD1306 defined. I am not still using OpenHAB for this (all itrms are working ok on OH), because I like to test before. I am using MQTT Explorer so I can see all messages on the MQTT Mosquito server. I have tried sending with topic home/esp_gw/sb/node30/dev72 and topic home/esp_gw/nb/node30/dev72, but none of them prints anything on screen apart from original message. I have also tried messages with "1:xxx" and "1,xxx" (as you mention "colon" in some explanation). On MQTT I see a topic send by device with topic "home/esp_gw/nb/node30/dev72" that always have "text received", if I send something to this topic, change for some seconds, but again turns to "text received", nothing apears on screen.
- On the other hand, if I point my browser to the device IP, I am able to see the camera, but I can't see it on sitemap directly with Image tag. I have other IP cameras that can see without any problem, and I am also able to see it if I put his IP on your 4 cameras sample html. But not directly on OpenHAB Image tag. Very extrange. I am also surprised, because the image is not really a "still image", maybe the problem is that is some mpeg stream? It works for you with Image tag on sitemap?
In any case, thanks very much, I can dig on the Esp32 code to resolve the issues, but probably asking first is better.
Next, Papa's Response