Disclaimer: I haven’t done a lot of research yet. Still in the “how to handle this” stage.

My profile: Senior Full Stack Web App - with own infrastructure in the cloud, unraid locally. HASSOS in a vm.

Q: in September I’m getting solar panels. My parents lended me the money on the condition they can use up the extra energy I set the net. We live in Belgium and that is possible but to do so they have to take it at most 15 minutes after. For normal usage this is fine but I’m talking heat pump and machines and such.

Both houses have a home assistant setup. His is even more automated than mine. Both run on on a decent machine. Both have stable internet (UniFi) and he is paying for home assistant cloud. Atm I am not.

Now I do have a digital meter and just integrated that with my instance. First I made my own cable but then I stumbled upon “slimmelezer+” module and that thing is just fantastic!

Anyway now I have access to real time data. What would you do to get it to the other instance? I do not have a lot of time but I am experienced with webservices and have the servers. This would be read only off course! lol but I was wondering if any of you knew a project or has done this him/herself.

I’m thinking the easiest way would be for me to pay for cloud access and then create a user for them. They can then add my home to their apps. But it would be super duper sweet to fully integrate both houses!

  • borebore@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I don’t fully understand why them having access to your home assistant is necessary. Do you want them to be able to create automations triggered from your data? If so, you could set up automations that send web hook calls to their instance which they can use to trigger automations. To make this easier since you both have UniFi you should be able to join the networks through a VPN. That way you don’t have to worry about the cloud service.

    • Gompje@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      It wouldn’t, although given we visit each other a lot it would help in way.

      But for this I would like to automate it like you suggest. I didn’t think of the vpn way, and that would certainly be possible. Although I fear it would complicate things a bit. That an in our duopoly isp thingie we have have here in Belgium we still have a miserably low and flaky upload of 30mbps. VPN is very slow. It’s on my list to test wire-guard though.

      That said: good to hear that simple web hooks seems fairly straight forward. Due to time constraints I haven’t dabbled a lot in automations but this route seems very promising! I think I will now def take that route, al be it with a small server component to handle the forward to their instance. So no vpn and floating ip hassle. Especially on their end.

      Probably can build this as an extra service into an existing web app too!

      B/c in the end it’s just sending them the data in a certain format it is? I mean it probably is even just a forward call😎 🤔 this sounds more and more the way to go, I could even capture the data in MySQL and let in dept analysis tools loose on it. To learn the tools

      Thanks a million! Your insights gave me the direction to move to. 🤗