![]() |
MQTT + accueil - Version imprimable +- F1ATB forum (https://f1atb.fr/forum_f1atb) +-- Forum : Forum de F1ATB (https://f1atb.fr/forum_f1atb/forum-3.html) +--- Forum : Routeur Photovoltaïque (https://f1atb.fr/forum_f1atb/forum-4.html) +--- Sujet : MQTT + accueil (/thread-1650.html) |
MQTT + accueil - m2ts - 30-07-2025 Hello Unfortunately my French isn't as good as my English, but hopefully one can help me... I want to setup 'un routeur photovoltaïque" for an electrical heater for domestic hot water by using a SSR-40 DA. At the moment I only installed the software version 15 on a ESP-32-WROOM, configured WiFi and setup MQTT. But I'm in doubt if I setup it correctly. As 'Source des mesures de puissance' I took MQTT with 'MQTT Topic Puissance' as 'emon/household/PT' (emon from https://emoncms.org/, a system that is already running). But for the ''Paramètres serveur MQTT' I'm in doubt:
I guess I'm in doubt because I'm mixing up what I want to discover (la puissance de ma maison on positive ou negative watt) and what I want to publish. If I look with MQTT explorer, I see a topic emon/routeur_rms/Available, with value 'online'. But maybe the routeur can publish other important values as well? But I don't know which :-). If I look at 'Données brutes', I see the correct 'Données puissances recues par MQTT' (namely the same value as MQTT explorer shows). But at the page 'Accueil'
I think I am misunderstanding something... Who could bring light in the darkness? RE: MQTT + accueil - F1ATB - 30-07-2025 If you can see the power figures in the page données brutes you are not too far to success. Can you attach a picture of the données brutes page and the MQTT explorer. I want to check if the syntax of the message is correct. Regards André RE: MQTT + accueil - m2ts - 30-07-2025 Hello André Glad to read that I'm not far from succes ![]() Kind regards RE: MQTT + accueil - Mike - 30-07-2025 Hi, It looks like PT doesn't have the right format, it should be a json value similar to the one for PuissanceMaison on this screenshot: https://f1atb.fr/wp-content/uploads/2024/05/Capture-decran-2024-05-27-174946.png "Pw" is mandatory but "Pf" is not. Hope this helps. RE: MQTT + accueil - m2ts - 31-07-2025 Mike, this helps a lot! After a Node-RED flow that takes emon/household/PT to send it through a change node I can now see the graph. Thanks! André, because of the extra step (read MQTT, change value, publish to MQTT again), I probably have a little bit of lag. Would it be possible in a future version to have more flexibility in filling out the desired information? Eg.: Code : MQTT Topic Puissance: emon/household/PT #The value is directly in the topic, eg. -115 RE: MQTT + accueil - F1ATB - 31-07-2025 I will see |