Avatar for user121340


Member since Nov 2020 • Last active Apr 2022
  • 3 conversations

Most recent activity

  • in Projects
    Avatar for user121340

    Great thanks @Gordon.

    I'd be really interested to hear about your solar/battery setup once you get some ideas.

    I've got micro inverters so the solar just dumps into my household supply. I don't have much excess in terms of wattage but it all adds up.

    I'm currently plotting a passive heat exchange in the loft - pipework in the loft to be heated by the sun and circulated/pumped (solar) into a small tank (I don't have an immersion) so water going into the combi boiler will be hotter to reduce the energy required to get it up to temperature.

  • in Puck.js, Pixl.js and MDBT42
    Avatar for user121340

    Thanks @Gordon

    Yeah my next axe approach was going to be to 'schedule' a restart every x days if my latest power source doesn't resolve the issue.
    At least I'm now physically downloading and storing the historic data so if it does crash I don't lose anything.

  • in Puck.js, Pixl.js and MDBT42
    Avatar for user121340

    Hi @Gordon thanks for your reply.

    Over the weekend I swapped from a USB via mains socket to an old 12v leisure battery with 2w solar trickle charger so I'll see if the power supply has been the issue.

    I've found during testing that if say I had my phone connected to the device and then tried to connect to the device that it wouldn't even display as an option to connect to. I'm now at the point where I only really connect to the device on my laptop as that's where I've got my web page to display the results.

    The board is encased in a little black box and glued onto my meter so it can pick up the flashes. So no LED is visible.

    In terms of connection I am using the Vin/GND as per the diagram.

    It's set to snow and be cloudy for the next few days so the MDBT42 won't be counting many flashes...


  • in Puck.js, Pixl.js and MDBT42
    Avatar for user121340

    Hi, I've got a Puck attached to my main house electricity meter monitoring consumption and a MDBT42 on a meter that is connected to my solar panels. In general it's all running brilliantly.

    Both devices essentially have the same code. There are subtle differences as the house meter has 800 flashes per kwh whereas the solar meter has 1000/kwh.

    The MDBT42 'crashes' after about a week and I cannot connect to it. The IDE connects but then reports a disconnected error message immediately. I therefore have to restart the device.
    The puck has been up and running for weeks without issue.

    The puck has a coin cell power whereas the MDBT42 is powered by usb. I cut up an old usb cable and soldered it to get power. The power is supplied by a standard 3pin plug/usb output.

    I keep losing my historic data so it's a smidge frustrating (note to self update the code to store the historic data better).

    Do you have any ideas why the device crashes when the Puck is absolutely fine?
    Unfortunately when it 'crashes' I cannot connect to it so I've not been able to see any errors (note to self write any exception to storage).


  • in Projects
    Avatar for user121340

    Morning all. I've got 2 Espruino devices mounted on my house meter and a solar meter so I can compare solar generation to house meter consumption. The solution simply counts the flashes on both meters.

    I want to understand a bit more about when I am exporting (giving it away). It's easy to establish consumption versus generation/import when the house meter is reading something (ie blue+red) but when there is no blue bar I don't know whether I'm balanced or exporting.

    You can see in the attached graph that there are a few 5 minute bloacks where I may be exporting and a few where I'm pretty close to being balanced.
    The blue is the house meter and the red is solar. I can't do a great deal with the blue peaks as they are washing machine peaks (2kw) versus a total of ~700w for the solar panels.

    Other than an export meter does anyone have any ideas about I how I can understand / avoid exporting.


  • Avatar for user121340

    My MDBT42Q arrived yesterday so I'm going to see if readAnalog(LED2) is sensitive/accurate to be used instead of adding an LDR.

  • in Puck.js, Pixl.js and MDBT42
    Avatar for user121340

    Ha ha ha @myownself,

    If I had a brain I would be dangerous. That photo was just one I lifted from the internet but you are dead right.
    What a muppet I am.

    Thanks so much.