Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bjorn-CPT

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Bjorn-CPT got a reaction from CraftyChops in SunSynk Logger Integration into Home Assistant   
    Hi everyone,
    Just a quick update: I've managed to update the Node-RED flow to handle the new encrypted password requirement for the Sunsynk API (using RSA encryption with a dynamic public key, based on the PHP example shared earlier). It's working perfectly now, pulling stats without issues.
    @Gary Waterworth (GitHub: gdwaterworth ==> https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk), thanks for the original repo! Since it's marked as no longer maintained, would you prefer I submit a pull request with these changes, or should I fork it and maintain a separate version? Happy to share the updated flow JSON either way.
    Details on changes below. Let me know if anyone wants the full export (sanitised for sensitive info).
    Cheers,
    Bjorn
    Short Summary of Changes
    Updated token endpoint to /oauth/token/new.
    Added nodes to generate nonce/sign, fetch dynamic public key, and encrypt password using Node.js crypto module (RSA_PKCS1_PADDING).
    Revised headers to prefer "deflate" encoding and match latest working User-Agent/Accept values to avoid compression errors.
    Modified login request to use the base64-encoded encrypted password instead of plain text.
    Ensured compatibility with existing flow structure; tested on Python-free Node-RED (uses built-in crypto). No other major alterations—stats pulling resumes as before.
  2. Like
    Bjorn-CPT reacted to Gary Waterworth in SunSynk Logger Integration into Home Assistant   
    I really dont mind if you fork it :)
    I just dont have time atm with my other activies to really work on it

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.