Go to advanced search

by PhatFil
Mon Sep 10, 2018 9:11 am
Forum: Beginners
Topic: [SOLVED] pir motion detection
Replies: 8
Views: 541

Re: pir motion detection

if you run it from the command line you can simply redirect the output to file by appending >> /home/pi/logs/mylogfile.txt to the end of the program command ie $ ./myscript.py >> /home/pi/logs/mylogfile.txt edit the path to the file must exist, the file will be created or if it exists be appended to.
by PhatFil
Mon Sep 10, 2018 6:32 am
Forum: Raspberry Pi OS
Topic: (Solved) Time sync problem
Replies: 14
Views: 27902

Re: Time sync problem

looks like your not establishing a connection with the ntp servers set so perhaps check for local reliable ntp servers and set accordingly.
https://raspberrypi.stackexchange.com/q ... ch-systems
by PhatFil
Mon Sep 10, 2018 6:06 am
Forum: Beginners
Topic: Raspberry(3b+)-PCA9685-12V Fans
Replies: 73
Views: 8275

Re: Raspberry(3b+)-PCA9685-12V Fans

whenever i need a roadmap for a project like this i bung the keyword 'arduino' into the search engine if i dont immediately find what i am looking for. After all if it can be done someone has done it with an arduino and written a book about it. I did the same for this question and it turns out its a...
by PhatFil
Mon Sep 10, 2018 2:59 am
Forum: Beginners
Topic: Reading response from BLE device on rpi3
Replies: 34
Views: 10020

Re: Reading response from BLE device on rpi3

I hesitate to suggest this as its a node-red solution which if your not familiar with node red or java script, could be a bit of an up hill battle coming to terms with a new system and programing paradigm while also trying to learn a new coms protocol. But on a casual glance through it does provide ...
by PhatFil
Mon Sep 10, 2018 2:12 am
Forum: General discussion
Topic: Wired Heating/Cooling Theremostat
Replies: 4
Views: 434

Re: Wired Heating/Cooling Theremostat

If after heeding the wise words above you still feel confident and or have a qualified sparky at hand to overlook your work. one of the itead sonoff devices, if switching a mains a/c load a th10 or th16 would be easy as they come with temp/humidity sensor capacity out of the box if a dc voltage a so...
by PhatFil
Mon Sep 10, 2018 1:35 am
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

Its up ;) great... it looks like the hourly recalls are working too FYI when first attempting to send different device addresses i would get errors telling me the mac address it should be searching for wasnt in a list?? and it displayed what looked like a csv of mac addys but my lappy screen resolut...
by PhatFil
Mon Sep 10, 2018 12:12 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi3 serial port
Replies: 13
Views: 18603

Re: RPi3 serial port

rjie wrote:
Sun Sep 09, 2018 8:24 pm
Hello.
Is anybody still here in this branch?
Doubt it .. its an old dead thread, if your having problems your probably better off starting your own discussion..


welcome to the forum btw ..
by PhatFil
Sun Sep 09, 2018 11:08 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

try this version with some bugs ironed out topics n payloads sorted and mqtt logging for charting [{"id":"e92f49ff.42fec8","type":"Xiaomi BLE","z":"3780f1f9.595fce","name":"Miflora","address":"","scanningTimeout":60,"x":550,"y":60,"wires":[["c59bf55d.3dbd98","2e1745a7.b9283a","5643b0d.8c4525","1a9d1...
by PhatFil
Sun Sep 09, 2018 8:56 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

avoid the other xiaomi node, its borked and not live afaik.
by PhatFil
Sun Sep 09, 2018 8:53 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

i installed it via the 'manage palette' from the 'three bar ' icon menu select manage palette, and select the install tab. type in xiaom.. and by the time yu have typed that in it should have narrowed the selection enough.. - install the dashboard the same way for the latest version of node red go t...
by PhatFil
Sun Sep 09, 2018 7:26 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

re water controllers... if you have a water counter wired to a tasmota device that controls the water on/off embed a rule in the tasmota device to turn off after X litres counted or set a time out (Plusetime variable) for example my pumps deliver 2l in about 30 seconds so my pump controllers are se...
by PhatFil
Sun Sep 09, 2018 12:45 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

Btw after showing off my clunky basic node red flows and dashboard i spent a few hours over the w/end polishing off my rough n basic attempt and when i sat back job pretty much done, 1 or 2 niggles to sort still.. I check out what else node red has to offer and i find ive spent some hours reinventin...
by PhatFil
Sat Sep 08, 2018 6:43 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

re water controllers... if you have a water counter wired to a tasmota device that controls the water on/off embed a rule in the tasmota device to turn off after X litres counted or set a time out (Plusetime variable) for example my pumps deliver 2l in about 30 seconds so my pump controllers are set...
by PhatFil
Sat Sep 08, 2018 6:35 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

im not joking about feeling evangelical about the tasmota system.. #1 tho stick all your sensors in the same pot and plot their output for a week or so , there is some variance in reading some read lower than others but with plotting you can a) identify this and b) confirm its a constant trend. my s...
by PhatFil
Sat Sep 08, 2018 4:59 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

Ok i guess i can get a bit evangelical on the subject ;) Sounds like you have the real world interface side of things well sorted already..
Onward n Upward..
by PhatFil
Sat Sep 08, 2018 4:37 pm
Forum: Beginners
Topic: Reading response from BLE device on rpi3
Replies: 34
Views: 10020

Re: Reading response from BLE device on rpi3

You have surpassed my toe dipping into this subject by a long way now, thankfully the devices i have interfaced with have had all the hard work like this done already.. While its not the best help , all i can suggest is for python specific issues perhaps the python list here https://python-forum.io ...
by PhatFil
Sat Sep 08, 2018 4:25 pm
Forum: General discussion
Topic: Connecting different Modules wireless to Raspberry Pi
Replies: 10
Views: 940

Re: Connecting different Modules wireless to Raspberry Pi

i dont think you are looking at it correctly, if your establishing a serial connection over bluetooth its a 1 to 1 protocol, so your gonna want to look at connecting to devices sequentially not concurrently.
by PhatFil
Sat Sep 08, 2018 4:05 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

To perform an action based on a conditional test within node red I use devices running the tasmota firmware https://github.com/arendst/Sonoff-Tasmota/wiki so if i have a tasmota smart switch ($4-$12 depending on sophistication) into which a pump is plugged (for dc pumps i use dc itead/sonoff-sv cont...
by PhatFil
Sat Sep 08, 2018 3:48 pm
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

copy the following code into your clipboard and past it into a new flow in node red, should show you how i have approached it. change the initial mqtt injection node etc to point at one of your sensors in my miflora-mqtt-daemon/config.ini file my sensors are labled Plant1......Plant9 currently. so t...
by PhatFil
Sat Sep 08, 2018 6:47 am
Forum: Automation, sensing and robotics
Topic: Wireless soil moisture sensor
Replies: 47
Views: 15678

Re: Wireless soil moisture sensor

good to hear your up n running, but may i suggest that you check out node red and mosquitto mqtt broker as a simple solution to loging, displaying,presenting, and using the output for rule based decision/action taking. for example here is a quick node red dashboard tab : https://farm2.staticflickr.c...
by PhatFil
Fri Sep 07, 2018 10:46 pm
Forum: Automation, sensing and robotics
Topic: Zigbee home automation on Pi Zero W
Replies: 8
Views: 20298

Re: Zigbee home automation on Pi Zero W

zigate is a zigbee network sniffing tool /hub i found on kickstarter https://zigate.fr/wiki/ and then did nothing with.. i have yet to invest in any zigbee sensors finding it easier to lift data from cheaper ble based sensors atm. i need 2 x pi-zero-W modules to give me total ble sensor coverage ove...
by PhatFil
Fri Sep 07, 2018 7:15 pm
Forum: Beginners
Topic: Would this damage the pi?
Replies: 6
Views: 837

Re: Would this damage the pi?

alternatively use an off the shelf logic level converter circuit this will have the added benefit of boosting the pi 3.3vRX to a 5v signal for the digispark board reducing possible errors. https://www.amazon.co.uk/Channel-Logic-Converter-Bi-Directional-Module/dp/B00MHUCVQC for example.. (not a recom...
by PhatFil
Fri Sep 07, 2018 6:53 pm
Forum: Troubleshooting
Topic: Bluetooth Not Working With Latest Stretch?
Replies: 8
Views: 2613

Re: Bluetooth Not Working With Latest Stretch?

have you tried restarting the system? and it wont hurt to re run the apt-get update/upgrade commands post distro upgrade to catch any updates for the stretch distro. if the bluetooth system was incorrectly shut down for its update/upgrade the start command could just compound existing issues perhaps...
by PhatFil
Fri Sep 07, 2018 6:41 pm
Forum: General discussion
Topic: Ethernet into wifi
Replies: 2
Views: 268

Re: Ethernet into wifi

why is the current wifi so poor?? would your own personal wifi network be immune from the problems of the current service? you could just as well turn your mobile phone into a private'hot spot' .. but perhaps a better solution would be a small travellers router such as a wt3020 which is easily refla...
by PhatFil
Fri Sep 07, 2018 6:28 pm
Forum: Beginners
Topic: Completely new to Raspberry Pi. Need to build logger for work.
Replies: 21
Views: 2086

Re: Completely new to Raspberry Pi. Need to build logger for work.

sounds like an ideal project to distribute across a number of cheap easily replaceable logging nodes probably based on esp8266 dev boards for your analog transducers appropriate adc converters can be potted along with the dev board exposing battery/power leads and sensor contacts (gpio)for a hardwar...

Go to advanced search