Search found 23 matches

by johnv
Mon Jan 20, 2020 11:03 am
Forum: General Discussion and Questions
Topic: umqtt
Replies: 2
Views: 506

Re: umqtt

Tnx mate!
by johnv
Sun Jan 19, 2020 8:22 pm
Forum: General Discussion and Questions
Topic: umqtt
Replies: 2
Views: 506

umqtt

hi, i installed mosquitto to the raspberry pi, and umqtt is up and running on the esp8266, but frankly i have no idee how to publish sensor data, and i seem unable to find any documentation or somesort, i can write text messages from pub to sub mosquitto_pub -m ... -t ... mosquitto_sub -t ... but i ...
by johnv
Fri Dec 27, 2019 1:59 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 32
Views: 1612

Re: plant watering

hi, for reading the values and future stuff and controlling, maybe using an app, what is the better way to do it, learn about mqtt, or a websocket or try building a server??? i'm kinda lost on this subject, i think there is to much info on this subject, i end up installing node red on the raspberry,...
by johnv
Tue Dec 24, 2019 7:56 am
Forum: General Discussion and Questions
Topic: booting main.py
Replies: 5
Views: 231

Re: booting main.py

i will look into it, tnx for the info! ;

i ordered this book, i hope it wil be any good :D Advanced Programming in MicroPython By Example by magda yuri

and a small bookbinding machine, so i can print out stuff from the internet and keep it tighty :lol:
by johnv
Mon Dec 23, 2019 8:54 pm
Forum: General Discussion and Questions
Topic: booting main.py
Replies: 5
Views: 231

Re: booting main.py

this is the code from the main.py folder import sys sys.path sys.path.insert(0,'/mydir/mymain.py') print (sys.path.insert) from mydir import mymain so i went for the third option, i must say it took a while but i learned alot in my search :D i created a folder named 'mydir' and put 2 files in it: 'm...
by johnv
Mon Dec 23, 2019 2:00 pm
Forum: General Discussion and Questions
Topic: booting main.py
Replies: 5
Views: 231

booting main.py

hi,

i want to run a script directly from booting the device,

when i make a file main.py it runs it straight from boot,

but when i make a folder main.py with my file as a subdirectory it doesnt,

can you run subdirectories in main.py or can you only run it as a single file?
by johnv
Fri Dec 20, 2019 10:32 pm
Forum: General Discussion and Questions
Topic: magazines, tech sites
Replies: 2
Views: 220

Re: magazines, tech sites

tnx man!
by johnv
Fri Dec 20, 2019 8:42 am
Forum: General Discussion and Questions
Topic: magazines, tech sites
Replies: 2
Views: 220

magazines, tech sites

hi i was wondering if there are any good tech magazines out there that are covering micropython, i would love read into it a little more, hardcover would be great so i can read it during lunch, i have a e-reader as well, or some good tech sites, for news and stuff my native language is dutch, but en...
by johnv
Sun Dec 15, 2019 6:01 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 32
Views: 1612

Re: plant watering

so its working!

didnt need the relay after all, the 2n7000 did the trick!

btw cant upload the mp4 video :(
by johnv
Sun Dec 08, 2019 2:13 pm
Forum: Hardware Projects
Topic: plant watering
Replies: 32
Views: 1612

Re: plant watering

tnx man, got a little smarter today :D