Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releases 1.75 #241

Closed
pihome-shc opened this issue May 22, 2020 · 13 comments
Closed

Releases 1.75 #241

pihome-shc opened this issue May 22, 2020 · 13 comments

Comments

@pihome-shc
Copy link
Owner

Hi All,
I thought i would do some text here for next release, let me know if you want to change something and get your opinion as well.
@dvdcut @twa127 @harvybob

========================================================
PiHome community always working hard to improve some of exiting feature to make things better. If you have any feedback or run into any issues you can always find help on PiHome site. This release packed with some serious improvements and bug fixes, to name some of them as follow:

Highlights in This Release

There are over 100 changes to PiHome since Last release version 1.74, to name few of major changes:

#222 Python 3
#238 Update Amazon Echo to latest Python 3 version of Fauxmo
#193 iOS HomeKit API - Homebridge
#172 Voice Command (Compatibility with Amazon Echo
#238 Update Amazon Echo to latest Python 3 version of Fauxmo
#219 WiringPi alternat to access RPI GPIO
#159 Gateway Python Script improvements
#224 Gateway script with wired and wireless ds18b20
#209 Remember Me for GUI interface
#210 Night Climate midnight rollover
#237 PiConnect - Cleanup
#212 Update HomeKit Interface to use Webhooks and re-organize directory structure

Contributors

Special thanks to the following people who have contributed code to this release:
@twa127
@dvdcut
@harvybob

Important information

Update your PiHome Smart Heating installation even if you do not want to use new features, new release also include some bug fixes.

How To update

Login to your PiHome via ssh and follow these steps to update your PiHome Smart Heating.

Python 3 instllation

sudo apt-get install python3-mysqldb

Update PiHome Software

cd /var/www/
git pull origin

Updated PiHome Database

cd MySQL_Database/
php update_db.php

Help for Next PiHome Release

If you're interested in helping out please checkout GitHub for issue. If you like PiHome Smart Heating Controller please consider starring the project on GitHub and like us on Facebook (https://www.facebook.com/PiHomeHVAC)

About PiHome and Its Evolution

http://www.pihome.eu/about-pihome-and-its-evolution/

@dvdcut
Copy link
Contributor

dvdcut commented May 22, 2020

it all look ok, but switching to python 3 requires some changes as well, do you want to add them?

@harvybob
Copy link
Contributor

Need to mention the crontab entry changes

@dvdcut
Copy link
Contributor

dvdcut commented May 22, 2020

Update Raspberry pi os

sudo apt update
sudo apt upgrade

Install phthon3 mysql library and pip

sudo apt install python3-pip -y
sudo apt-get install python3-mysqldb
pip3 install pyserial

Set the python version 3 as default or change crontab entries to python3

python --version
Set python 3 as default:
nano ~/.bashrc
Add the following after the last line in the file
alias python='/usr/bin/python3'
To implement the change:
source ~/.bashrc

@dvdcut
Copy link
Contributor

dvdcut commented May 22, 2020

i think that is what is needed, may be @twa127 can clarify python side of this as he worked on python3

@pihome-shc
Copy link
Owner Author

Thank you for your input, i think that is all we need for python side. @twa127 you want to include anything ?

@twa127
Copy link
Contributor

twa127 commented May 24, 2020

Hi,

Looks good to me, I think you have already covered the python3 pre-requisites

@pihome-shc
Copy link
Owner Author

pihome-shc commented May 24, 2020 via email

@pihome-shc
Copy link
Owner Author

i think python gpio part is missing,

pihome-shc added a commit that referenced this issue May 24, 2020
@twa127
Copy link
Contributor

twa127 commented May 24, 2020

Hi

The only pre-requisite for the gpio python 3 change is 'blinka' but I thought that is already installed on the RPi. The other change is the code itself and the change to crontab

@scottagecheeseandcrackers

Not sure if this is a bug, but I got an error on 'git pull origin' on the latest release (1.75)

"Error: your local changes to the following files would be overwritten by merge - cron/find_mygw/ping.pyc ".

This was solved with a manual rename of the file.

@twa127
Copy link
Contributor

twa127 commented May 27, 2020

Hi

Not a bug, the .pyc is created at run time so decided not to include it in the src distribution

@dvdcut
Copy link
Contributor

dvdcut commented May 27, 2020

i had the same issue. is there a way that we can ignore these files when we do git pull origin

@twa127
Copy link
Contributor

twa127 commented May 27, 2020

Hi,

Wont this be a one time issue, now that your local image has no .pyc and the src has no .pyc ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants