beep-projects / SystaPi

Adding WiFi and a REST API to Paradigma SystaComfort units
GNU General Public License v3.0
16 stars 3 forks source link

seem not to work anymore. It installs OS but i do not find SystaPi-2.0 #9

Closed beep-projects closed 2 years ago

beep-projects commented 2 years ago

seem not to work anymore. It installs OS but i do not find SystaPi-2.0 I am on Ubuntu , is there a Chance to get an Update? I tried it on Windows, no success . SW Version: Software V2.16 9.03.21 and RPI3 Appriciation

Originally posted by @errut in https://github.com/beep-projects/SystaPi/discussions/4#discussioncomment-2644636

beep-projects commented 2 years ago

Hi @errut, can you be a bit more specific where it fails? Can you successfully flash the SD card for your raspberry pi?

SystaPi-2.0 is the folder inside https://github.com/beep-projects/SystaPi/releases/download/2.0/SystaPi-2.0.zip so if you extracted that to somewhere else, you have to change into that folder.

But if the OS gets installed (I guess you mean you could flash the SD card and your Rapberry Pi boots with it), then I don't understand what you mean with "i do not find SystaPi-2.0".

If the Raspberry Pi boots, you can attach the firstrun.log and secondrun.log from the /boot partition of the SD card here, so I can have a look at it

errut commented 2 years ago

ok, one easy one: disk since i use usb i had to change disk in the script. Installation was successfull. Question: I am on 192.168.178.x, do i understand this correctly : in the Script the ip must in a different network, so i change to 192.168.178.1. rpi was booting into the commandline of the rpi

beep-projects commented 2 years ago

You can pass the path for the sd card in your card reader to the script, so you don't have to change the script. e.g. install_systapi.sh /dev/mmcblk0

By default, the WiFi interface is used to connect to your WiFi networt using DHCP (assuming that you configured the ssid and passphrase in firstrun.sh). The Ethernet interface is used to connect the Raspberry Pi to your SystaComfort. By default the 192.168.1.1 is used for this on the SystaPi. This will cause networking issues, if you use this IP range for your local WiFi. But since you use 192.168.178.x (I assume the netmask is set accordingly) you should not have any conflict and you can go with the default configuration. If you use 192.168.178.1 on the Ethernet interface of the pi and 192.168.178.x on your local WiFi, you should create a network conflict and SystaPi will not receive the data.

If your pi is booting and connecting to your WiFi, you should be able to get the setup logs from the SystaPi by running the following command on the command line of your Ubuntu computer scp beep@systapi:/boot/*.log . and get the server logs via ssh beep@systapi "journalctl -u SystaRESTServer.service" > SystaPi_journalctl.log

beep-projects commented 2 years ago

@errut is it now working for you?

errut commented 2 years ago

No, not yet. I change to SD-Card, so I didnt have the problem with the disk. It is booting , it stops booting: I can see the thee BT- and the sound-icon, but nothing else on the desktop.I tried wlan and Lan aswell. Presently i am using Systaweb for one year, but i want systapi. installing via ubuntu: am i correct when using the script i only have to adapt wpa , ssid to the local network and change the ip for the systa comfort. I dont understand item 3. - the card is already in the card reader - what do i misunderstand?

beep-projects commented 2 years ago

step 3 just says that you should have the sd card in your card reader for flashing. If it is already there, you don't have to do anything. I don't understand what you mean by "and change the ip for the systa comfort" Systa Pi will provide an DHCP server on the Ethernet port of the Raspberry Pi. So the systa comfort should automatically obtain a correct IP, once it is connected via Ethernet. If you use IPs like 192.168.1.1 on your local Wifi, you should change IP_PREFIX to be in another range, but yes usually you only have to edit the Wifi settings