Open bjornmorsman opened 4 months ago
Hi Pierre,
Today i tested again, i commented out the next rule and build the firmware.
marvinroger/AsyncMqttClient @ ^0.9.0
The senseo booted in the correct state, the only problem is that mqtt discovery doesnt work with the AsyncMqttClient packed with homie 3.0.1 can we say that the problem must be in the AsyncMqttClient ? or can it be in the espressif8266 version somehow?
Ok, so "good news" I flashed a blank esp8266 D1 mini with no pcb attached and I can repro your crash. I'll add some logs and try to find out what I miss.
Ok, so as you already find out, for some reason the advertising of pendingCommands and processedCommands caused AsyncMQTTClient to crash. I shorten the name of both topic (I replacement xxCommands by xxCmds) and it seems to have fix the issue. It's a mystery to me why my senseo flashed a years ago seems to not have the issue at all and the fix is not really satisfying but that all I can offer for now.
The fix is pushed on master, let me know how it works for you.
Hi Pierre,
Thanx for all the work, it looks like its function now! i also have another question, your pcb arrived last saturday so i tested it out right away. you have add some extra pin headers for the connection to the senseo, how do i connect them to my senseo? in parallel with the existing wires or do i need to solder new wires to the pcb of the senseo?
Thanx in advance
Indeed, I didn't document anything, sorry about that :-/ So you are using the pcb found on my git hub right? I'll try to remember but it's been a year, I should have it wrote down for my self :) The biggest change with my pcb is that it came between the physical button and the actual senseo pcb. So if I remember correctly, you need to unplug the button from the senseo pcb and plug them on the esp pcb, and then you should have some other connectors on esp pcb that go where the button were going in the first place.
If I remember correctly (again), the row of 5 pins the right (with "used only by the add-on") is where you connect the button and you unplug from the senseo PCB, if your senseo is like mine it should fit perfectly if you solder a connector. The top connector should go directly toward the senseo pcb (Dupont wire should do the trick)
Hi Pierre,
we talked about this problem at ThomDietrich's repo so what dit i try.
i add a bunch of "Serial.println("some unique string to identify this log");" in SenseoWifi.cpp:
This gives me no usefull extra information, not before it hangs at Sending Initial Information.... i also commented out the reset button, that doesn help, after that i flashed ThomDietrich's original firmware and than the senseo-wifi works fine so i doubt it is hardware related. deleted al the topics in mqtt explorer en tried again, its get populated until pendingCommands, i also tryed a differen mqtt broker, problem persists. i checked you fork and i downloaded the ''master'' version that is the correct one right? you told me that you never tried your fork without your add-on so i put a 1K resistor at A0 so the pcb would think your add-on is installed, that doesnt help either
i indeed changed the order of the advertisements so i can narrow down where the problem is.
when i comment in the above 2 rules of 1 of them my senseo hangs at boot when Sending Initial Informatie.. and doesnt get past that ever.
senseoNode.advertise("programContext").setName("Program Context").setDatatype("string");
when i comment in the above rule and comment out the pending/proccesedCommnds rules, i get an bootloop with the next information.
i tryed downgrading PlatformIO, that doesnt solve the problem. it looks like there is a problem with AsyncMqttClient. i checked my platformio.ini and its using version 0.9.0 so that has te be correct.
what version of platform = espressif8266 did you use when building could that be a problem maybe? i did also try different builds of homie that doesnt help.
if you need some more informatie please ask me