Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #30 from foglamp/1.7.0RC
Browse files Browse the repository at this point in the history
Release 1.7.0
  • Loading branch information
ashish-jabble authored Sep 13, 2019
2 parents 44739fb + 3212c58 commit 449ce88
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 200 deletions.
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Package Build
packages/build
# vi
*.swp

# MacOS Finder
.DS_Store
._*

# IDE
*.idea
24 changes: 11 additions & 13 deletions Package
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,19 @@ requirements="foglamp,python3-envirophat"

case "$arch" in
x86_64)
;;
armhf)
;;
echo "${plugin_name} is not supported on Intel architectures as it requires ARM GPIO support"
exit 1
;;
armv7l)
;;
aarch64)
;;
;;
esac
case "$package_manager" in
deb)
if [ "$arch" != "armhf" ]; then
echo "Deb Package building for ${plugin_name} is only supported on armhf architecture!!"
exit 0
fi
deb)
;;
rpm)
echo "RPM Package building for ${plugin_name} is not supported on $arch architecture!!"
exit 0
;;
rpm)
echo "RPM Package building for ${plugin_name} is not supported on $arch architecture!!"
exit 0
;;
esac
2 changes: 1 addition & 1 deletion VERSION.south.envirophat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
foglamp_south_envirophat_version=1.6.0
foglamp_south_envirophat_version=1.7.0
foglamp_version>=1.6
8 changes: 8 additions & 0 deletions install_notes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
It is required to enable I2C on the RPi, please do the following steps:

1) sudo raspi-config
2) Choose Interfacing options
3) Choose P5 I2C option Enable/Disable automatic loading of I2C Kernel module
4) Follow the prompt to set Yes for ARM I2C interface enabled
5) Once that's done, reboot your RPi to let the changes propagate.
6) And be ensure that your I2C is enabled, run command ls /dev/*i2c*
131 changes: 0 additions & 131 deletions make_deb

This file was deleted.

10 changes: 0 additions & 10 deletions packages/Debian/armhf/DEBIAN/control

This file was deleted.

41 changes: 0 additions & 41 deletions packages/Debian/armhf/DEBIAN/postinst

This file was deleted.

4 changes: 2 additions & 2 deletions python/foglamp/plugins/south/envirophat/envirophat.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
'assetNamePrefix': {
'description': 'Prefix of asset name',
'type': 'string',
'default': 'envirophat/',
'default': 'e_',
'order': '2',
'displayName': 'Asset Name Prefix'
},
Expand Down Expand Up @@ -109,7 +109,7 @@ def plugin_info():

return {
'name': 'Enviro pHAT Poll Plugin',
'version': '1.5.0',
'version': '1.7.0',
'mode': 'poll',
'type': 'south',
'interface': '1.0',
Expand Down

0 comments on commit 449ce88

Please sign in to comment.