April 11, 20242 yr Just upgraded to Solar-Assistant 64bit - some nice features https://solar-assistant.io/help/updates/changelog 2024-04-05Beta New features: Released 64-bit Raspberry PI SD card image. Add HDMI output configuration option to switch between kiosk and console. Add SSH configuration option to enable/disable SSH key and password based authentication. Add Bluetooth configuration option switch between disabled, hidden and auto pairing. Add power management for Luxpower inverters. Add power management for Growatt TL-XH inverters. Support for GoodWe ET inverters. Support for Seplos V3 via "USB modbus" protocol. Added reading of serial, firmware version and alarms via "USB Narada" protocol. What I noticed: SA Image is based on Debian 12 64bit - previous was based on Debian 10 32bit Ability to allow ssh into the RPI - previously I had to hack the image to allow ssh Improved security by removal of ssh on frp proxy. Kiosk mode - displays SA on HDMI Might be useful to have a local display showing live SA. I'm thinking of adding a HDMI display to my RPI4 eg https://www.raspberrypi.com/documentation/accessories/display.html so I can see SA when in the garage. ssh access is configured via Configure -> Configure Local Access. The process I followed to go from 32bit to 64bit: Download the 64bit image and write the image to a new/spare SD card - I used a spare 32GB card Using a different SD card allows you to revert if the new image does not work as expected. Make a note/print-screen of SA settings eg USB ports are used for Inverter & Battery, etc. mqtt settings: Configuration -> mqtt -> Advanced button inverter & battery settings: Configuration -> battery -> Advanced button Make a backup via Configuration -> Storage -> view detail -> backup This will create a backup that you can save to your PC. There is a button to download the influxdb backup.zip Shutdown & poweroff the old 32bit version - Configure -> System -> Shutdown Install the new SD card with 64bit version and boot the RPI Check your DHCP server/nmap to locate the 64bit SA on your network Access the 64bit version with a browser http://192.168.7.189 in my case Check the site Owner/Site ID under Configure -> System Since you are using the same RPI hardware/machine-id, SA will connect to existing site license. Might take a minute to retrieve the license from the SA cloud. Restore your influxdb backup via Configuration -> Storage -> view detail -> upload Remember to import the backup as well. There is a button to import the backup. Check your history - mine was fine, but there is a resample history link. Configure USB ports and other settings as per print-screen (2) above Check for any updates - I'm on the beta program and on Software version: 2024-04-05 Enjoy. Edited April 11, 20242 yr by system32
April 11, 20242 yr Ja, saw this too in the recent beta update. TBH, what would the real benefits that I as just a SA user would see from upgrading to the 64bit version? Marc
April 11, 20242 yr Author 58 minutes ago, MdF said: Ja, saw this too in the recent beta update. TBH, what would the real benefits that I as just a SA user would see from upgrading to the 64bit version? Marc Not 100% sure of all the benefits as I'm just a regular user. As a regular user, you unlikely to notice any difference as the vendor updates & maintains both 32bit & 64bit versions. I don't think ssh access and kiosk mode are available on 32bit version. For me: ssh access This is important for me as I use the RPI4 to run some python code that records cell data from my batteries Previously I had to hack the device to enable ssh to run my python battery cell app. Improved security by removal of ssh on frp proxy Update to Debian 12 with recent versions of Python Updated versions of InfluxDB, MQTT (mosquito), Grafana These are embedded apps, the new versions won't make a difference to regular users. Normal SA updates only seems to update the Erlang App If you have an RPI4 or RPI5 with 4GB of RAM, you have a potent device. With ssh access you could install Docker and a container to run HA... I would still recommend a separate home-lab server for Docker/HA and leave the SA device alone. For me the benefit of SA is the mqtt integration that exposes the collected data to my home-lab. In conclusion "If it ain't broke, don't fix it" - if it's working for you and has the features you need leave it alone. Edited April 11, 20242 yr by system32
April 16, 20242 yr Great guide @system32 Upgraded my devices to beta, and 64bit. Thank you for this. SSH access is a win! Edited April 16, 20242 yr by TheRoDent
April 17, 20242 yr Local Password also adds a password field when you log into the local web interface on the LAN
April 18, 20242 yr Author TIP: Been using 64bit beta versions for a few days 2024-04-05 - 64bit 2024-04-12 - 64bit 2024-04-16 - 64bit Seems there is a memory leak in beam.smp - growing by ~400MBytes/day. Depending on how much RAM+SWAP your device has, may be prudent to restart SA to prevent OOM. Run $ top or $ free -m or $ PID=$(pgrep "beam.smp") $ grep "^Vm" /proc/$PID/status or # pmap -x $PID over a few hours/days to monitor. Vendor is looking into this and hopefully fix will be released soon. Edited April 18, 20242 yr by system32
April 24, 20242 yr How do you access SSH ? Running beta but have no option under Configure -> Configure Local Access Can someone post a screen shot ?
April 25, 20242 yr 21 hours ago, educorner said: How do you access SSH ? Running beta but have no option under Configure -> Configure Local Access Can someone post a screen shot ? I have been wondering the same. At some point I thought it might not be available in the Orange PI image...
April 25, 20242 yr On 2024/04/17 at 10:10 AM, PsyWulf said: Local Password also adds a password field when you log into the local web interface on the LAN That's been there since the previous release?
April 25, 20242 yr Just now, madness_za said: That's been there since the previous release? Maybe,I've seen nobody mention that it locks the Web Interface too
May 22, 20242 yr On 2024/04/25 at 11:33 AM, DawieZA said: I have been wondering the same. At some point I thought it might not be available in the Orange PI image... I don't see the SSH option either - perhaps it is only on the 64 bit version [which I haven't gotten around to yet...]
May 22, 20242 yr 1 hour ago, shovelhead said: I don't see the SSH option either - perhaps it is only on the 64 bit version [which I haven't gotten around to yet...] Only 64bit yes
May 23, 20242 yr On 2024/04/11 at 8:32 AM, system32 said: SA Image is based on Debian 12 64bit - previous was based on Debian 10 32bit That's very interesting , I was under the impression that the SA had an ad-hoc OS based on Erlang Virtual Machine. That was an assumption because I remember that the OS was inaccessible at time I checked it out 3 years ago. I had a conversation with the Pierre the founder of SA , and he told me SA is developed using Elixir programming language and framework. Because Elixir needs Erlang VM as a host , I assumed they made a proprietary OS with BuildRoot and Erlang VM . But after reading your post I discovered that Erlang VM can also be installed on plain Debian as a package. So that's probably the route they took. My main interest at the time was whether I could host a standalone Linux app alongside SA on the same PI. Do you think that's possible.?
May 23, 20242 yr Author 23 minutes ago, BritishRacingGreen said: That's very interesting , I was under the impression that the SA had an ad-hoc OS based on Erlang Virtual Machine. That was an assumption because I remember that the OS was inaccessible at time I checked it out 3 years ago. I had a conversation with the Pierre the founder of SA , and he told me SA is developed using Elixir programming language and framework. Because Elixir needs Erlang VM as a host , I assumed they made a proprietary OS with BuildRoot and Erlang VM . But after reading your post I discovered that Erlang VM can also be installed on plain Debian as a package. So that's probably the route they took. My main interest at the time was whether I could host a standalone Linux app alongside SA on the same PI. Do you think that's possible.? With the 64bit version, there is an option to enable ssh access. I use the ssh access to run some python apps that collect additional metrics from Juntek, Hubble and SunSynk solar-assistant:~ $ crontab -l # m h dom mon dow command @reboot $HOME/myapp/sun2mqtt/sun2mqtt.sh > /tmp/sun2mqtt.log 2>&1 @reboot $HOME/myapp/jun2mqtt/jun2mqtt.sh > /tmp/jun2mqtt.log 2>&1 @reboot $HOME/myapp/hub2mqtt/hub2mqtt.sh > /tmp/hub2mqtt.log 2>&1 @reboot $HOME/bin/batch_topio.sh >> /tmp/batch_topio.log 2>&1 @daily $HOME/bin/batch_topio.sh >> /tmp/batch_topio.log 2>&1 Setup a python virtual env $ mkdir -p myapp $ cd myapp $ python3 -m venv myapp $ source myapp/bin/activate (myapp) $ which python3 /home/solar-assistant/myapp/myapp/bin/python3 (myapp) $ pip3 install minimalmodbus (myapp) $ pip3 install paho-mqtt (myapp) $ cd jun2mqtt (myapp) jun2mqtt $ python3 jun2mqtt.py Edited May 23, 20242 yr by system32
May 31, 20242 yr On 2024/05/23 at 9:35 AM, system32 said: With the 64bit version, there is an option to enable ssh access. I use the ssh access to run some python apps that collect additional metrics from Juntek, Hubble and SunSynk solar-assistant:~ $ crontab -l # m h dom mon dow command @reboot $HOME/myapp/sun2mqtt/sun2mqtt.sh > /tmp/sun2mqtt.log 2>&1 @reboot $HOME/myapp/jun2mqtt/jun2mqtt.sh > /tmp/jun2mqtt.log 2>&1 @reboot $HOME/myapp/hub2mqtt/hub2mqtt.sh > /tmp/hub2mqtt.log 2>&1 @reboot $HOME/bin/batch_topio.sh >> /tmp/batch_topio.log 2>&1 @daily $HOME/bin/batch_topio.sh >> /tmp/batch_topio.log 2>&1 Setup a python virtual env $ mkdir -p myapp $ cd myapp $ python3 -m venv myapp $ source myapp/bin/activate (myapp) $ which python3 /home/solar-assistant/myapp/myapp/bin/python3 (myapp) $ pip3 install minimalmodbus (myapp) $ pip3 install paho-mqtt (myapp) $ cd jun2mqtt (myapp) jun2mqtt $ python3 jun2mqtt.py Just setting up mine, what's the SSH default log in? Can't set the .conf file without SSH'ing into it or can I? ELI5 please, still new at all this.
May 31, 20242 yr Author 31 minutes ago, LiFePOWER said: Just setting up mine, what's the SSH default log in? Can't set the .conf file without SSH'ing into it or can I? ELI5 please, still new at all this. You can set the password via Configuration -> System Configure -> Local password Then change Configuration -> System -> ssh-access to "key and password authentication" Once you able to connect, you can install .ssh/authorized_keys and just use keys. Edited May 31, 20242 yr by system32
May 31, 20242 yr 6 minutes ago, system32 said: You can see the password via Configuration -> System -> Local password Then change Configuration -> System -> ssh-access to "key and password authentication" Once you able to connect, you can install an authorized_keys and just use keys. ahem, yes that makes sense... Another stupid question, username? Sorry there's 0 documentation I can find on this.
May 31, 20242 yr Author Just now, LiFePOWER said: ahem, yes that makes sense... Another stupid question, username? Sorry there's 0 documentation I can find on this. Connect with: ssh solar-assistant@the-ip-address
May 31, 20242 yr 5 minutes ago, system32 said: Connect with: ssh solar-assistant@the-ip-address Got it thanks! For the other people like me out there: Username: solar-assistant Password: Local password
July 1, 20241 yr Hello, I am click in interface for update to latest version 2024-05-23, but after update I don't have still possibility enable ssh access(Under settup local password is no section for SSH) - any idea why? Edit - I have Raspberry Pi 3 Model B Rev 1.2 (but I don't know how check if I have 64bit version.... I don't see this information in system part) Edited July 1, 20241 yr by Jan S
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.