RPIEasy

Moderators: grovkillen, Stuntteam, TD-er, enesbcs

Post Reply
Message
Author
User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

RPIEasy

#1 Post by enesbcs » 29 Dec 2018, 21:59

It's almost time to say Happy New Year... but instead i want to introduce my new project: RPI Easy.

If there is anyone who has a Raspberry PI and wants to use it's GPIO with sensors in a similar way, that ESPEasy offers (special thanks to the ESPEasy Dev Team!) than this project he is looking for.
I like ESPEasy, I have several ESP8266 at my home, but also have some Raspberry PI Zero W, which consumes not so much, despite their computing capacity. So it looked like a logical step to me, to rewrite my old python sensor handlers, and merge somehow with the ESPEasy user interface... it was harder than i thought. Earlier i used RPI's with several different and personalized python codes, but today (after six month of development) i decided that RPIEasy reached a milestone, and i publish it.

The project needs some testers and feedbacks. :) I do not say that it is stable, instead i say the truth: it is a beta development version, with a lot of work to do.
But hey, it is free and open source...
https://github.com/enesbcs/rpieasy

An image says more than thousand word, so:
Attachments
RPIEasy main
RPIEasy main
p2p.png (395.29 KiB) Viewed 110769 times
RPIEasy devices
RPIEasy devices
rpi_devs.png (138.29 KiB) Viewed 110769 times

mrwee
Normal user
Posts: 225
Joined: 31 Aug 2016, 12:52

Re: RPIEasy

#2 Post by mrwee » 29 Dec 2018, 22:42

It's a very interesting project, and indeed I've been looking for such a solution. Will test when I get a little time on my hands :D

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RPIEasy

#3 Post by Shardan » 29 Dec 2018, 23:01

+1
Regards
Shardan

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: RPIEasy

#4 Post by grovkillen » 30 Dec 2018, 09:38

Happy to see the progress! Do you want to add this to the official GitHub repository?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

JR01
Normal user
Posts: 260
Joined: 14 Feb 2016, 21:04
Location: South Africa

Re: RPIEasy

#5 Post by JR01 » 30 Dec 2018, 10:37

Well done!!!
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#6 Post by enesbcs » 30 Dec 2018, 11:09

grovkillen wrote: 30 Dec 2018, 09:38 Happy to see the progress! Do you want to add this to the official GitHub repository?
Thank you. I think it is in good place now. In case of anybody has fixes, it can be forked. :)
Altough a forum section would be very nice.

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: RPIEasy

#7 Post by iron » 30 Dec 2018, 12:13

Good job !!!

-D
-D

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: RPIEasy

#8 Post by iron » 30 Dec 2018, 18:58

Image

On a VM for now, going on an OPi0 tomorrow.

-D
-D

happytm
Normal user
Posts: 107
Joined: 15 Aug 2016, 17:53

Re: RPIEasy

#9 Post by happytm » 30 Dec 2018, 19:49

Is it possible to add PME extender plugin (_P011_PME.ino ) to get efficient use of pro mini to get analog input,extra GPIOs and use of interrupts from pro mini ?
I see you already implemented I2C interface.

User avatar
budman1758
Normal user
Posts: 301
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Re: RPIEasy

#10 Post by budman1758 » 30 Dec 2018, 20:00

This is awesome!!!
This is what I was looking for way back before I found ESPEasy. Was trying to find something like this for the PI.
Perfect for folks like me that can bash hardware together but don't know squat about programming. :D

Will definitely be testing this!!

Great job!! :ugeek: :ugeek: :ugeek:
"The glass is twice as big as it needs to be".

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#11 Post by enesbcs » 30 Dec 2018, 20:04

happytm wrote: 30 Dec 2018, 19:49 Is it possible to add PME extender plugin (_P011_PME.ino ) to get efficient use of pro mini to get analog input,extra GPIOs and use of interrupts from pro mini ?
I see you already implemented I2C interface.
I think it is possible, but not in the near future, as i do not have a PME device, and blind programming is not my strength.. i developing plugins with trial&error approach, for example: as i wrote this message i just found a bug in my basic Switch plugin, when i am testing. :)

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#12 Post by enesbcs » 30 Dec 2018, 20:07

iron wrote: 30 Dec 2018, 18:58 On a VM for now, going on an OPi0 tomorrow.
-D
I forgot to mention, that ESPEasy P2P controller need to be enabled, to join the network, but as i see, it is obvious. :) And as you see, i missed sorting in the unit list, adding it to the issues.

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: RPIEasy

#13 Post by iron » 30 Dec 2018, 20:28

enesbcs wrote: 30 Dec 2018, 20:07
iron wrote: 30 Dec 2018, 18:58 On a VM for now, going on an OPi0 tomorrow.
-D
I forgot to mention, that ESPEasy P2P controller need to be enabled, to join the network, but as i see, it is obvious. :) And as you see, i missed sorting in the unit list, adding it to the issues.
Also the "Type" only shows up on RPIEasy node listing but not from within the standard ESPEasy node list.
-D

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#14 Post by enesbcs » 30 Dec 2018, 21:08

iron wrote: 30 Dec 2018, 20:28 Also the "Type" only shows up on RPIEasy node listing but not from within the standard ESPEasy node list.
It needs to be fixed at the ESPEasy code, not in the RPIEasy. :)

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: RPIEasy

#15 Post by grovkillen » 30 Dec 2018, 21:27

enesbcs wrote: 30 Dec 2018, 21:08
iron wrote: 30 Dec 2018, 20:28 Also the "Type" only shows up on RPIEasy node listing but not from within the standard ESPEasy node list.
It needs to be fixed at the ESPEasy code, not in the RPIEasy. :)
Only one PR away ;) You need to apply.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#16 Post by enesbcs » 30 Dec 2018, 21:53

grovkillen wrote: 30 Dec 2018, 21:27
enesbcs wrote: 30 Dec 2018, 21:08
iron wrote: 30 Dec 2018, 20:28 Also the "Type" only shows up on RPIEasy node listing but not from within the standard ESPEasy node list.
It needs to be fixed at the ESPEasy code, not in the RPIEasy. :)
Only one PR away ;) You need to apply.
Thanks i opened an issue. :)
https://github.com/letscontrolit/ESPEasy/issues/2206

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: RPIEasy

#17 Post by iron » 30 Dec 2018, 21:59

Alexander,

Is HTTPS/ TLS a feature you would consider given the ESP82XX limitations do not exist in this approach ?

-D
-D

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#18 Post by enesbcs » 30 Dec 2018, 22:11

iron wrote: 30 Dec 2018, 21:59 Alexander,

Is HTTPS/ TLS a feature you would consider given the ESP82XX limitations do not exist in this approach ?

-D
Paho MQTT library can do SSL, only a matter of time and energy. :) Python Urllib also can do TLS/SSL, costs only a few line of code, some cert, and a lot of headache.. added an issue to github.

kenkoknz
Normal user
Posts: 64
Joined: 03 Jul 2018, 23:46
Location: New Zealand

Re: RPIEasy

#19 Post by kenkoknz » 31 Dec 2018, 23:51

Hi,
Great work! tried installing on pi3, but displays command not found? Log below:

pi@raspberrypi:~ $ git clone https://github.com/enesbcs/rpieasy.git
Cloning into 'rpieasy'...
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (100/100), done.
remote: Compressing objects: 100% (71/71), done.
remote: Total 100 (delta 32), reused 86 (delta 24), pack-reused 0
Receiving objects: 100% (100/100), 134.40 KiB | 0 bytes/s, done.
Resolving deltas: 100% (32/32), done.

pi@raspberrypi:~ $ sudo apt install python3-pip screen alsa-utils wireless-tools wpasupplicant zip unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
alsa-utils is already the newest version (1.1.3-1).
unzip is already the newest version (6.0-21).
wireless-tools is already the newest version (30~pre9-12).
wpasupplicant is already the newest version (2:2.4-1+deb9u2).
zip is already the newest version (3.0-11).
zip set to manually installed.
python3-pip is already the newest version (9.0.1-2+rpt2).
Suggested packages:
byobu | screenie | iselect
The following NEW packages will be installed:
screen
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 547 kB of archives.
After this operation, 922 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.reap.net.nz/raspbian/raspbian stretch/main armhf screen armhf 4.5.0-6 [547 kB]
Fetched 547 kB in 1s (415 kB/s)
Selecting previously unselected package screen.
(Reading database ... 119845 files and directories currently installed.)
Preparing to unpack .../screen_4.5.0-6_armhf.deb ...
Unpacking screen (4.5.0-6) ...
Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ...
Processing triggers for systemd (232-25+deb9u6) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up screen (4.5.0-6) ...
Processing triggers for systemd (232-25+deb9u6) ...

pi@raspberrypi:~ $ sudo pip3 install jsonpickle
Collecting jsonpickle
Downloading https://files.pythonhosted.org/packages ... ne-any.whl
Installing collected packages: jsonpickle
Successfully installed jsonpickle-1.0

pi@raspberrypi:~ $ sudo ./RPIEasy.py
sudo: ./RPIEasy.py: command not found

Thanks,
Ken

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RPIEasy

#20 Post by Shardan » 01 Jan 2019, 01:12

Check if it's in another directorym change to root directory and use the find command

Code: Select all

cd /
find -name 'RPIEasy.py'
Regards
Shardan

kenkoknz
Normal user
Posts: 64
Joined: 03 Jul 2018, 23:46
Location: New Zealand

Re: RPIEasy

#21 Post by kenkoknz » 01 Jan 2019, 03:28

Hi Shardan,

Thanks for that, found the file using the gui file manager. I am just amaze that the pi can multi task so many servers at the same time, as the pi now has vnc desktop at 5900, ssh, node red at 1880, and now rpieasy at 8080 and all working, is there a limit to number of servers the pi can handle. Also a quick question can one change the port for the rpieasy?

Cheers and a happy new year!
Ken

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#22 Post by enesbcs » 01 Jan 2019, 11:10

kenkoknz wrote: 01 Jan 2019, 03:28 Hi Shardan,

Thanks for that, found the file using the gui file manager. I am just amaze that the pi can multi task so many servers at the same time, as the pi now has vnc desktop at 5900, ssh, node red at 1880, and now rpieasy at 8080 and all working, is there a limit to number of servers the pi can handle. Also a quick question can one change the port for the rpieasy?

Cheers and a happy new year!
Ken
You can check the capacity of your PI with the "top" command, if it is below 100% than it has some reserves...

Port selection is automatic.
If you run it as root, it will try to use port 80 (as only root can use ports <1024), if it fails (not root or used by other program), than try to use 8080, if none of the above available tries to use 8008. I do not really want to provide port selection because i have a network scanner program, and if i do not know what ports to search, it will be hard (slow) to find them on the network.
Hint: A lot of settings, for example GPIO pin working mode (input, output, hardware pwm), dependency install, wifi scan only can be reached as root.
Last edited by enesbcs on 01 Jan 2019, 11:14, edited 2 times in total.

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#23 Post by enesbcs » 01 Jan 2019, 11:13

Shardan wrote: 01 Jan 2019, 01:12 Check if it's in another directorym change to root directory and use the find command

Code: Select all

cd /
find -name 'RPIEasy.py'
Yep, i left out "cd" command after "git clone" in the readme. :D Thanks, fixed!

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#24 Post by asuz » 05 Jan 2019, 13:19

How can I make ESP auto restart if I reboot PI? Does it work with diet pi?

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: RPIEasy

#25 Post by iron » 05 Jan 2019, 15:53

asuz wrote: 05 Jan 2019, 13:19 How can I make ESP auto restart if I reboot PI? Does it work with diet pi?
Image
-D

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#26 Post by asuz » 05 Jan 2019, 16:18

Thanksssssss :D

FanOfHue
Normal user
Posts: 96
Joined: 06 Oct 2018, 10:08

Re: RPIEasy

#27 Post by FanOfHue » 06 Jan 2019, 17:16

Nice development! I've noticed you mentioning Python in your first post. Is this a pure Python based project? Meaning that it could run on other platforms that support Python. Like the ESP32?

And did you know that another Python project (uPyEasy) already exist? Maybe you could team up with the other developer(s) to share the effort into one project? Although it looks like the uPyEasy project has not seen any changes recently. Don't know the status. Anyone?

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#28 Post by enesbcs » 06 Jan 2019, 18:04

FanOfHue wrote: 06 Jan 2019, 17:16 Nice development! I've noticed you mentioning Python in your first post. Is this a pure Python based project? Meaning that it could run on other platforms that support Python. Like the ESP32?
Thanks, but ESP32 is unable to run Python3. micropython is similar to python3 but not the same.

According to my measures RPIEasy is using 128MB RAM (avarage) Compare it with the ESP32 datasheet...
Besides, i am using a lot of Linux OS functions, which i doubt that exists in micropython. If you compile an application to ESP it will be a complete OS, RPIEasy is only an application and built upon the Linux OS.
So it IS a pure Python3 based project which may run on platforms that runs Linux... mainly targeted to Raspberry's, but also running on desktop PC's with Debian/Ubuntu. In the (far) future it may be extended to Orange PI or Nano PI, i am not sure, they GPIO handling may differ a lot.
FanOfHue wrote: 06 Jan 2019, 17:16 And did you know that another Python project (uPyEasy) already exist? Maybe you could team up with the other developer(s) to share the effort into one project? Although it looks like the uPyEasy project has not seen any changes recently. Don't know the status. Anyone?
I am aware of uPyEasy and originally i thought that i could use it on my Raspberry's. As i wrote previously, the differences are so huge, that instead i write an own solution, based on the ESPEasy C code and HTML stubs. It is unlikely that uPyEasy and RPIEasy can share any codebase, as i don't see any common point in them.
All my respect is the uPyEasy developers, but in my opinion ESP-like devices simply do not have enough resources to run a python program efficiently, instead ESPEasy32 seems a better way to use ESP32, sorry. But again, i am not an expert, it is my private opinion.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#29 Post by asuz » 07 Jan 2019, 19:10

Hello, I connect 18b20 with 4.7k resistor to the GPIO22 but cannot see the 18b20's Device Address box and temperature values. What I am missing?

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#30 Post by enesbcs » 07 Jan 2019, 22:47

asuz wrote: 07 Jan 2019, 19:10 Hello, I connect 18b20 with 4.7k resistor to the GPIO22 but cannot see the 18b20's Device Address box and temperature values. What I am missing?
1. Did you setup a 1WIRE pin?
Image
2. Did you reboot after that?
3. Double check that wiring is OK

If you did the above and not working, than the checklist:
- do an "lsmod | grep w1" in linux console and paste here
- do an "ls /sys/bus/w1/devices" in linux console and paste here
- specify your hardware and OS version as a bare minimum
- you are free to open an issue with the necessary data at github

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#31 Post by asuz » 07 Jan 2019, 23:59

First of all I am using Pi Zero Wireless with DietPi_v6.17_RPi-ARMv6-Stretch
I check cables few times and see nothing wrong.
There is nothing after typing "lsmod | grep w1"
"ls /sys/bus/w1/devices" reply is No such file or directory

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#32 Post by enesbcs » 08 Jan 2019, 00:14

asuz wrote: 07 Jan 2019, 23:59 There is nothing after typing "lsmod | grep w1"
"ls /sys/bus/w1/devices" reply is No such file or directory
OK, this is because w1-gpio driver is not loaded on your system, so Linux kernel is unable to detect DS18b20 sensors.
DietPI uses the same kernel as Raspbian, which i've got for testing, so w1-gpio has to be included.
Please post "cat /boot/config.txt" and PrtScr from RPIEasy Hardware page and PInout&Ports page with GPIO22.

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#33 Post by asuz » 08 Jan 2019, 00:31

root@DietPi:~# cat /boot/config.txt
disable_overscan=1
framebuffer_width=16
framebuffer_height=16
framebuffer_depth=8
display_rotate=0
lcd_rotate=0
start_x=0
disable_camera_led=0
max_usb_current=1
disable_pvt=1
disable_splash=1
avoid_pwm_pll=1
dtparam=i2c_arm=off
dtparam=i2c1=off
i2c_arm_baudrate=100000
dtparam=spi=off
temp_limit=65
force_turbo=0
enable_uart=0
dtparam=audio=on
gpu_mem=16
dtoverlay=w1-gpio,gpiopin=22
Attachments
2.jpg
2.jpg (181.74 KiB) Viewed 110135 times
1.jpg
1.jpg (59.2 KiB) Viewed 110135 times

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#34 Post by enesbcs » 08 Jan 2019, 07:07

asuz wrote: 08 Jan 2019, 00:31 root@DietPi:~# cat /boot/config.txt
dtoverlay=w1-gpio,gpiopin=22
This looks OK.
Please run the following at the linux console:

Code: Select all

sudo modprobe w1-gpio && sudo modprobe w1-therm
lsmod | grep w1
ls /sys/bus/w1/devices
If there are some devices detected, try to run ESPEasy...

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#35 Post by asuz » 08 Jan 2019, 12:25

Sorry about it but still not working, should I use raspian instead of dietpi. I choose dietpi for not using lots of system source.

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#36 Post by enesbcs » 08 Jan 2019, 12:32

asuz wrote: 08 Jan 2019, 12:25 Sorry about it but still not working, should I use raspian instead of dietpi. I choose dietpi for not using lots of system source.
Dietpi kernel is the same as Rasbpian so i do not think that it makes a difference.
Could you test this DS18b20 with az ESP8266/ESPEasy for example? Is it working fine?

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#37 Post by asuz » 08 Jan 2019, 12:53

Yes I have a few 18b20 with soldered 4.7k and test it at esp8266 that runs esp easy firmware

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: RPIEasy

#38 Post by iron » 08 Jan 2019, 14:13

asuz wrote: 08 Jan 2019, 12:53 Yes I have a few 18b20 with soldered 4.7k and test it at esp8266 that runs esp easy firmware
Test the specific ones that you are having trouble with RPIEasy just to verify they are functional.

-D
-D

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#39 Post by asuz » 08 Jan 2019, 16:00

Thanks for all suggestion but solution comes with the adding dtoverlay=w1-gpio code to the /boot/config.txt .But I cannot edit config.txt by typing sudo nano /boot/config.txt to the console. Each time it did not save config.txt, then I put SD card in a windows OS then add dtoverlay=w1-gpio bottom of config.txt. Maybe that help anybody who will use dietpi.

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#40 Post by enesbcs » 08 Jan 2019, 20:59

asuz wrote: 08 Jan 2019, 16:00 Thanks for all suggestion but solution comes with the adding dtoverlay=w1-gpio code to the /boot/config.txt .But I cannot edit config.txt by typing sudo nano /boot/config.txt to the console. Each time it did not save config.txt, then I put SD card in a windows OS then add dtoverlay=w1-gpio bottom of config.txt. Maybe that help anybody who will use dietpi.
Yep, looks like somehow your /boot partition mounted at ReadOnly mode. Interesting, as my dietpi mounts boot as ReadWrite. (update: on filesystem error /boot will be remounted as ReadOnly, until fsck not run, it is not a regular mode)
https://raspberrypi.stackexchange.com/q ... config-txt

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#41 Post by asuz » 09 Jan 2019, 15:20

Hello again, I wonder how many 18b20 can be work without problem with pi zero that runs esp firmware without issue?

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#42 Post by enesbcs » 09 Jan 2019, 16:39

asuz wrote: 09 Jan 2019, 15:20 Hello again, I wonder how many 18b20 can be work without problem with pi zero that runs esp firmware without issue?
As i see it is maximized in 10-64 pieces in w1-gpio kernel driver. It is a software limit. (Just checked mine, it writes 64)
You can check it by issuing the following command to the linux console:

Code: Select all

cat /sys/bus/w1/devices/w1_bus_master1/w1_master_max_slave_count 
There are also some hardware limits, such as cable impedance, voltage drop, power supply...
I have got two DS18b20 sensors so i am unable to test it for you. :)
On the hardware side, there are some very insane test results:
https://www.youtube.com/watch?v=JW9wzbp35w8

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#43 Post by asuz » 09 Jan 2019, 19:03

enesbcs wrote: 09 Jan 2019, 16:39
asuz wrote: 09 Jan 2019, 15:20 Hello again, I wonder how many 18b20 can be work without problem with pi zero that runs esp firmware without issue?
As i see it is maximized in 10-64 pieces in w1-gpio kernel driver. It is a software limit. (Just checked mine, it writes 64)
You can check it by issuing the following command to the linux console:

Code: Select all

cat /sys/bus/w1/devices/w1_bus_master1/w1_master_max_slave_count 
There are also some hardware limits, such as cable impedance, voltage drop, power supply...
I have got two DS18b20 sensors so i am unable to test it for you. :)
On the hardware side, there are some very insane test results:
https://www.youtube.com/watch?v=JW9wzbp35w8
I am going to built your project that you mention over there

Code: Select all

https://bitekmindenhol.blog.hu/2018/10/14/termosztat_esp866-al
. Am I right is that yours?

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#44 Post by enesbcs » 09 Jan 2019, 19:25

asuz wrote: 09 Jan 2019, 19:03 I am going to built your project that you mention over there

Code: Select all

https://bitekmindenhol.blog.hu/2018/10/14/termosztat_esp866-al
. Am I right is that yours?
Yes this is my creation and currently is my only thermostat at home. It needs an ESPEasy firmware with a special plugin to use, can be downloaded here:.
https://drive.google.com/file/d/1SVa6bv ... sp=sharing

asuz
Normal user
Posts: 175
Joined: 31 Oct 2018, 18:22

Re: RPIEasy

#45 Post by asuz » 09 Jan 2019, 19:32

enesbcs wrote: 09 Jan 2019, 19:25
asuz wrote: 09 Jan 2019, 19:03 I am going to built your project that you mention over there

Code: Select all

https://bitekmindenhol.blog.hu/2018/10/14/termosztat_esp866-al
. Am I right is that yours?
Yes this is my creation and currently is my only thermostat at home. It needs an ESPEasy firmware with a special plugin to use, can be downloaded here:.
https://drive.google.com/file/d/1SVa6bv ... sp=sharing
Maybe I need some directions from your side as I see your page is hungarian :) Should I hesitate to contact with you?

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#46 Post by enesbcs » 09 Jan 2019, 20:36

asuz wrote: 09 Jan 2019, 19:32
enesbcs wrote: 09 Jan 2019, 19:25
asuz wrote: 09 Jan 2019, 19:03 I am going to built your project that you mention over there

Code: Select all

https://bitekmindenhol.blog.hu/2018/10/14/termosztat_esp866-al
. Am I right is that yours?
Yes this is my creation and currently is my only thermostat at home. It needs an ESPEasy firmware with a special plugin to use, can be downloaded here:.
https://drive.google.com/file/d/1SVa6bv ... sp=sharing
Maybe I need some directions from your side as I see your page is hungarian :) Should I hesitate to contact with you?
Time is the most valuable thing in the world I don't have.
This is the shortened english version, if you have questions, you can ask at that thread:
viewtopic.php?f=2&t=6287
Maybe it can be used at the new homepage, that grovkillen mentioned before. ;)

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#47 Post by enesbcs » 09 Jan 2019, 22:46

iron wrote: 30 Dec 2018, 21:59 Alexander,

Is HTTPS/ TLS a feature you would consider given the ESP82XX limitations do not exist in this approach ?

-D
Today's commit on github contains preliminary support for SSL at the Controllers. Needs some testing.

tim
Normal user
Posts: 52
Joined: 05 Dec 2015, 11:24

Re: RPIEasy

#48 Post by tim » 10 Jan 2019, 16:30

Cool project!! I still must have an Orange PI zero somewhere in the collection of abandoned projects. Ordered because it was only 14 euro. I thought it was the same as Raspberry pi but it was not.

But could this run RPIEasy? I remember that i ran Armbian firmware on it.

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: RPIEasy

#49 Post by enesbcs » 10 Jan 2019, 18:24

tim wrote: 10 Jan 2019, 16:30 Cool project!! I still must have an Orange PI zero somewhere in the collection of abandoned projects. Ordered because it was only 14 euro. I thought it was the same as Raspberry pi but it was not.

But could this run RPIEasy? I remember that i ran Armbian firmware on it.
I had an Orange Pi earlier, but i sold it away instantly, after shocked by it's poor software support and a lot of outdated libraries... even the gpio numbering scheme was a mess! (at least with the cheap Orange PI Zero W that i had, which also has a crappy integrated XR WiFi with a chaotic and erratic driver, and effectively heating my room as it's CPU going to 70C after startup) You are right about that RaspberryPI is not the same as an OrangePi.
Maybe in the far future it will be supported by RPIEasy. Currently i do not have any Orange PI for testing, and not planning to buy one, GPIO and I2C based stuffs will not work for it, generic, usb and audio plugins may work as they work on my Ubuntu PC also.

Raspberry Zero W is only 10GBP, and works out of the box, works with an up-to-date Raspbian OS, if i set GPIO22 to high from software, than the correspondent pin will go to high and it is easy to find it, based on it's detailed and updated documentation. I have five RPI ZeroW home, running 24/7 for a year now, an average of 1W consumption, CPU is 39-42C without a cooling fan. Neither of this true for the Orange PI. :)

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: RPIEasy

#50 Post by iron » 11 Jan 2019, 10:17

enesbcs wrote: 09 Jan 2019, 22:46
iron wrote: 30 Dec 2018, 21:59 Alexander,

Is HTTPS/ TLS a feature you would consider given the ESP82XX limitations do not exist in this approach ?

-D
Today's commit on github contains preliminary support for SSL at the Controllers. Needs some testing.
I am having difficulty uploading the MQTT cert file via the <ip>/filelist page. I can upload a .jpg and a .txt but not the TLS.pem, file even after I renamed it to TLS.txt

-D
-D

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests