Hello all,
I am unable to SSH into my omega2 anymore. And I am not able to flash my arduino dock because the com button is greyed out.
Ant ideas?
Thanks,
Neil
Hello all,
I am unable to SSH into my omega2 anymore. And I am not able to flash my arduino dock because the com button is greyed out.
Ant ideas?
Thanks,
Neil
Oh I forgot to mention it is an autorun program to start on boot.
Hello all,
I am trying to get this code to exit once the button has been pressed and cant get it to work with break or exit.
print("Here we go! Press CTRL+C to exit")
try:
while 1:
device.loop()
if device.is_connected():
if int(button.getValue()):
print("Button pressed!")
device.send_state({"button": 1})
time.sleep(3) # Debounce button press
time.sleep(0.03)
except KeyboardInterrupt: # If CTRL+C is pressed, exit cleanly:
led._freeGpio()
button._freeGpio()# cleanup all GPIO
I found this and it works perfect. I just need to change the code a little so it dosnt send more than one text while the button is depressed.
"https://www.losant.com/blog/getting-started-with-omega2-and-losant"
Smitty
Hello all,
Trying to create a simple program to send the state of a switch to losant. I have been studying the "Smart
Plant" project but was wondering if there was anything out there that was a bit easier to understand. Maybe even an existing program?
I have the Arduino dock2 and have made the Arduino program for the switch, I just need help with the java on the omega2 to read the Arduino and send it to losant.
Thanks,
Smitty
Ok so I did a factory reset as per CAP 33 and rebooted my router and ran the wizard again. This time I had internet but it froze up when I tried to register on the cloud. Did the process several times and sometimes no internet and sometimes had internet but it would keep freezing when I tried to register on the cloud. So I kept trying and the next time I had internet I skipped cloud and it worked!!
Thanks for the help guys!
Hello, I am trying to setup my onion omega2+ with the wizard. I connected to the onion with my pc, then put in my ssid and password. It searched for my network and found it but said connected but no internet access. I know I have internet access because my pc, and phone connect just fine.
Anyone know whats wrong?