@Kit-Bishop The one-wire protocol is a standard from Maxim/Dallas-Semi who make the devices.
The packages to support the protocol are a standard part of openWRT, so I would look on their website for information (and the source code).
There are also 1-wire implementations for the Arduino. That will be a lower level methodology and might be the information you are looking for.
I hope this points you in the right direction.
--
KCH
root@Omega-0417:~# opkg install python-light --force-depends
Installing python-light (2.7.9-6) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/python-light_2.7.9-6_ar71xx.ipk.
Installing python-base (2.7.9-6) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/python-base_2.7.9-6_ar71xx.ipk.
Configuring python-base.
Configuring python-light.
Collected errors:
satisfy_dependencies_for: Cannot satisfy the following dependencies for python-light:
libc * libc *
The python is works, but can't figure out how to fix that error.
@Kit-Bishop Thank you, I am actually using Nodejs to do my programming, I was just curious if I can use the builtin button because I still haven't received my shipment of hardware components but now I guess I have to go with my own push button.
In the end of the kick-starter page it has a FAQ. There you get the answer:
Do you ship to my country?
Yes, we will be shipping worldwide.
Last updated: Sat, Aug 6 2016 10:20 AM BRT
And please don't double post ... it makes it difficult to find all the information after!
There is a new kick-starter campaign on, there you could back for omega2 the new generation of it. Plans for shipment is November.
Or find a distributor, there is a request: > Something out of stock, try our distributos.
In the Onion.io/store you can find them soon again (omega2).
@Guest
As @Luciano-S and our Power Dock Guide already mentioned, you must connect to the Omega on the Power Dock wirelessly over SSH. I have updated the article with a link to the guide for connecting over SSH.
@Luciano-S : It is possible to connect the TX/RX wires from the USB to UART adapter to the Serial TX/RX pins on the Power Dock's header, but do so at your own risk. The Power Dock was intended for people to connect to it wirelessly without having to remove it from whatever it's embedded in.
Thanks,
Gabe
I re-tested the exact same as my last post but with "oled-exp dim on" set and it lasted from midnight to 10:19am. So the brightness of the OLED can pretty significantly increase battery duration
And yes @Lazar-Demin , solar panel status and the 1-wire temperature reading for the temperature of the room the Onion is in.
The photo was taken at night while the inverters were not producing power.
https://gfycat.com/FoolhardySizzlingIzuthrush
I just need to make some sort of case / caddy for the Onion to go in so I don't feel like I"m carrying around a fragile egg!
Summary:
Onion + Power Dock + 1-Wire Temperature Sensor + Ping + reading 1-wire every 2 minutes = 11 hours 19 minutes.
Onion + Power Dock + 1-Wire Temperature Sensor + Ping + reading 1-wire every 2 minutes + OLED Expansion on default brightness + 5 second wgets and displaying returned data on OLED = 8 hours.
Onion + Power Dock + 1-Wire Temperature Sensor + Ping + reading 1-wire every 2 minutes + OLED Expansion on the lower brightness setting + 5 second wgets and displaying returned data on OLED = 10 hours 19 minutes.
@Mitch-Christensen We were doing some maintenance of the firmware servers yesterday in preparation for the Omega2, I'm guessing that caused your issues!
Should be ok from here on out!
Can you please add [RESOLVED] to the post title?
Looks like your connection to Community was lost, please wait while we try to reconnect.