Community

You need to log in to create posts and topics.

The 4 touch buttons on the top not working.

Pages:12

Hello,

After restarting the device, only 2 cards were active, the upgrade and the weather one.

I manually started the timer.js via

 

ort /usr/bin/js/timer.js

The card was inserted and after 5 seconds the top touch buttons went online (red / green / blue / white) but after I touch one of the buttons nothing happen (start , minus, plus)

 

Is the library damaged or are my buttons defect?

sounding more and more like the assemblers need to go back to the drawing board.  my buttons are essentially unresponsive and my front panel just doesn't fit.

I checked it after you said it, yes my front panel timer also does not fit. it is right shifted. the timer ring is on the right side behinde the cover.

I have all the same problems.

I found you can view the internal event stream from the console with

mosquitto_sub -v -t "#"

Once running that command, wave at the oboo and you should see

/card {"cmd":"select_card","action":"left"}

/cardResponse {"cardId":0, "action":"select", "success":true}

This same message bus is used for just about everything I've found so far.

After drumming on the button bar for several minutes, I managed to get a

/button {"id":0,"action":"press"}

I have not gotten any of the other buttons and I cannot get button#0 reliably.

 

I like the message bus, though!

It is also accessible over the network, so it should be super useful if you have external triggers that you want to do something on the clock or if you want to subscribe to the events the clock raises in order to do something elsewhere.

The message bus is a great find. Strangely, I'm getting button presses showing up when I'm in a different room from the clock (and the cat is in here with me as well.)

/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/button {"id":2,"action":"press"}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/button {"id":2,"action":"press"}
/button {"id":2,"action":"press"}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}

I am also seeing random button presses.

Also of interest

[ 5160.024450] 
[ 5160.024450] do_page_fault(): sending SIGSEGV to ort for invalid read access from 00000004
[ 5160.032822] epc = 0040ca51 in ort[400000+2c000]
[ 5160.037579] ra  = 0040c2d9 in ort[400000+2c000]
[ 5160.042188] 
[ 6334.523340] 
[ 6334.523340] do_page_fault(): sending SIGSEGV to ort for invalid read access from 000009ba
[ 6334.531728] epc = 00419367 in ort[400000+2c000]
[ 6334.536378] ra  = 0041d85d in ort[400000+2c000]
[ 6334.540982] 

And an accumulation of cards. I'm up to 6 cards currently.

 

 

I've decided I need more excitement from this defect so now I'm running this:

#!/bin/sh

color=000000
mosquitto_sub -t /button | while read button
do
 # /button {"id":3,"action":"press"}
 button=${button%,*}
 button=${button#*:}
 case "$button" in
   0) newdigit=F ;;
   1) newdigit=4 ;;
   2) newdigit=8 ;;
   3) newdigit=0 ;;
   *) newdigit=7 ;;
 esac
 color=${color#?}${newdigit}
 /usr/bin/mcu/setColor.sh $color
done

For the record I am hoping the microcontroller on the buttons just hasn't been programmed up yet

 

There is some interference between the gesture sensor and touch input, it is on our list for the next thing to fix.

Check out today's update, it would fix the touch button issue

https://getoboo.com/community/topic/software-update-july-31-2018/

I'm still seeing spurious button presses after the update and reboot...

/button {"id":2,"action":"press"}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/button {"id":2,"action":"press"}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/button {"id":2,"action":"press"}
/button {"id":2,"action":"press"}
/button {"id":2,"action":"press"}
/button {"id":2,"action":"press"}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/button {"id":2,"action":"press"}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/button {"id":2,"action":"press"}
/status {"cmd":"update","elements":[{"type":"battery","value":3}]}
/button {"id":2,"action":"press"}

 

Pages:12