Git Product home page Git Product logo

Comments (7)

vogler avatar vogler commented on June 9, 2024

Ok, just found out it's actually devices/senseo-wifi/machine/power/set. Works 😄
Maybe a sentence in the readme on how to test it would be a good idea.

from senseowifi.

ThomDietrich avatar ThomDietrich commented on June 9, 2024

The README does not explicitly state that but the device follows the Homie convention. Check it out for all details! ;)

I'll need to update the README with a lot of things. Anything else you found? Does your machine work? Btw if you are located in Germany I could send you one of my spare PCBs.

from senseowifi.

vogler avatar vogler commented on June 9, 2024

Does your machine work?

Not anymore 😅
I tested that power on/off work and adjusted the time so that it correctly detected no_water, then I closed it.
It did complete 'cup1' successfully (including on/off), but then, directly afterwards, it went crazy cycling between states. I unplugged it, but even then it went: unknown, ready, brewing, (no_water, ready)+.
I guess there's something off with the timings, but I don't feel like opening it up all the time (I assume I can keep USB connected while the machine is also plugged in to attach to serial output?). I added some more outputs to the debug mqtt and got fast pulse durations from 53 to 84 while it was working, but now I also get values like 6 and 285.
When should pinStateToggled be called? Is there some noise? I didn't press any buttons.

Also, can you recommend an alternative to MQTT.fx? Sometimes it receives messages after I reset the machine, sometimes I first have to disconnect, connect and resubscribe all topics to make it work again 😞

I could send you one of my spare PCBs.

Thanks for the offer! I used some perfboard that had the right size:
img_20181122_001151

from senseowifi.

ThomDietrich avatar ThomDietrich commented on June 9, 2024

Hey!
You can leave USB connected for debugging, that is the main reason for the optocouplers.

What concerns me is the picture of your machine. It seems to be an older model. Could you tell me the exact type number?
Nevertheless, as the PCB just observes the LED and digitally pushed the buttons I believe it should still work. I would suggest to connect USB, then go through a bit of testing. You should see very precise timings of +-1ms. See: https://github.com/ThomDietrich/SenseoWifi/blob/master/src/constants.h#L12 for the times.

but now I also get values like 6 and 285

Please check again. If those are your readings there is probably something wrong with your PCB or power supply.

If your Senseo PCB is older, this could also be an issue with a less stable LED power supply. Be careful while playing around with this part of the problem!!

Please keep me in the loop!

Also: Any addition to the readme, the source code or the PCB is highly welcome!!

from senseowifi.

vogler avatar vogler commented on June 9, 2024

It's a Philips HD 7801/62.
Everything worked fine for the first brew. I found out that now ledChangedHandler seems to fire whenever cupAvailable changes. When I remove the TCRT5000 it doesn't change states anymore.

I use the following times:

pulseDurLedSlow = 1000;                  
pulseDurLedFast = 80;                    
pulseDurTolerance = 30;                  
pulseContThreshold = 2 * pulseDurLedSlow;

HeatingTime = 70; // cold start -> LED blinks -> LED on
HeatingTimeTol = 10;
Brew1CupSeconds = 34; // warmed up: LED on -> LED blinks -> LED on
Brew2CupSeconds = 70; // "
BrewHeat1CupSeconds = 64; // HeatingTime+Brew1CupSeconds
BrewHeat2CupSeconds = 140; // HeatingTime+Brew2CupSeconds

It wasn't exactly clear to me what the difference is, are the comments right?

from senseowifi.

ThomDietrich avatar ThomDietrich commented on June 9, 2024

Before working with the recipe feature I'd recommend to find out if the rest does what it is supposed to. If the TCRT5000 seems to be part of the issue could you please check if the problem is on PCB or code side?

Regarding the times: Are you sure your changes are correct? Does your machine really have a fast blinking period of 80?

The comments are not clear indeed. Please create a PR ;) See here: https://github.com/ThomDietrich/SenseoWifi/blob/master/src/SenseoWifi.cpp#L139 BrewHeat is the normal cycle from pressing the brew button till the machine is finished and the LED stops blinking. The brew times represent the first part of those if the machine switches to OFF or NOWATER after brewing.

from senseowifi.

evildrummer avatar evildrummer commented on June 9, 2024

Ich hätte gerne das übrige pcb abgekauft :)

from senseowifi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.