#sailfishos-push log for Tuesday, 2014-09-16

*** Merbot has joined #sailfishos-push09:04
kimmolitbr: got an idea how to get mqtt / puhs notification promoted09:08
kimmolipush notification when update is available...09:08
tbrooooh, nice09:09
tbrone-off-app09:09
tbrbtw: your hilight reached me via irssi mqtt and then bluetooth low energy to my meta-watch!09:10
tbrI wonder if we have enough time to push the app through to the store ;)09:11
kimmoliand then by 450-700nm to your eyes ?09:11
tbrfirst via haptic feedback to my wrist09:11
tbrbut  yes09:12
tbrI think inz wanted to do a similar thing, we could use that as a general purpose pilot?09:12
tbrwas the funny app release guesser in jolla store?09:12
tbrwe could work with the author to add this as a real feature09:13
kimmoli:)09:14
kimmolii think it is easy enough to do, but problem with app is that it needs to be running09:14
kimmoliand daemons are tricky to get in store09:14
tbryes, but those nut jobs who want to know about the update instantly will keep it running09:24
tbrdoes the store accept python or do we need to whip up something with libmosquitto and an iphb patch?09:25
tbrI can look into all that tonight, as I have a temporary gig doing IoT stuff for 2 weeks09:25
kimmolioOOOo09:26
kimmolipython not yet afaik09:26
kimmoliso libmosquitto it is...09:27
tbrneed to look at libmosquitto code, there will be some busy loop similar to what I patched in the python version10:14
tbrjust needs iphb added in there to force wakeup every n seconds10:14
kimmoliy. similar stuff is done in toholed daemon, it also has snippet to create notifications...10:23
*** gbour has joined #sailfishos-push13:14
gbourHi. I read on mer meeting minutes that you guys are working on a push system for Jolla phones13:25
gbourIs there some code or documentation somewhere ?13:25
tbrthere is a semi up to date wiki page and an high level architecture diagram that I tweeted13:56
tbrI'm making slow progress defining how the dbus bridging and interfacing will look for the first iteration13:57
gbourthx tbr13:59
gbourI was started to work on my own solution based on MQTT too, when I saw the news14:02
tbr:)14:04
tbrthe idea is to integrate into the platform and expose a good interface to apps. as that gives you the best benefits if you only have one ongoing TCP connection14:05
gbouryes14:05
gbourI started from the server side, maybe we could merge our work ?14:05
tbrwhat do you have on the server side?14:06
gbourbasically just a server (written in Erlang) decoding MQTT messages (very early stage)14:07
tbrI was thinking of something simple on the server side too. probably just leverage the python mqtt stuff (paho) and have a web api based on that14:09
tbrI have to leave now. But I'll be online later, let's continue the discussion.14:10
gbourok. see you14:10
*** lbt has quit IRC16:11
*** lbt has joined #sailfishos-push16:13
kimmolioo.17:27
kimmoligot another idea, which just needs client-script implementation.... parse some keyword from notification, and start playing white-noise to allow easy location of phone.17:28
kimmoliif "makesomenoise" in notification[1]:17:36
kimmoli  os.system("gst-launch-0.10 filesrc location=/home/nemo/whitenoise.wav ! wavparse ! audioconvert ! alsasink")17:36
tbr"give me one ping vasily! only one!"17:56
tbrbut yes, very good idea17:56
tbrmeanwhile more chinese crap arrived \o/17:58
tbrthis little USB voltmeter/amperemeter/powermeter/coulombcounter is pretty nifty and I'd say well worth the USD 8.88 I paid for it17:59
kimmolilink?17:59
* kimmoli has always wanted to have moar chinacrap18:00
tbralso 2x18650 "power banks" are cheap plastic crap, but work fine. 3.5$18:00
tbrhttp://www.aliexpress.com/item/1-piece-Mini-OLED-USB-Charger-Capacity-power-Current-Voltage-Detector-Tester-Meter/1974934810.html18:00
kimmolisounds expensive.18:00
kimmolioooled18:00
tbryes18:00
tbrI bought it because it shows four values simultaneously and ooooooh shiny OLED!18:01
kimmolibro got email from china (ebay) that due traffic accident they will reship his goods18:01
tbrdisplay is b/w not that photoshopped blue/white18:01
kimmoliit did look too good18:01
tbrI measured it up with a multi-meter. It is reasonably accurate. wouldn't trust the LSD, but hey who cares.18:02
tbralso inserting it between a bench psu and my nexus7 didn't change the charging current, so they didn't screw up the shunt.18:03
tbrnor did they mess with D+/D-18:03
kimmolihttp://www.aliexpress.com/item/USB-Charger-USB-Mobile-Power-Monitor-Meter-Voltage-Current-Power-Capacity-4in1-Multifunction-USB-Measure-Meter/1874678172.html18:03
kimmoliis this closer-real-thing ?18:03
kimmolithe display mean18:03
kimmolihttp://www.aliexpress.com/item/Mini-OLED-USB-Charger-Capacity-power-Current-Voltage-Detector-Tester-Meter/1932167117.html18:04
tbryes, that's the display18:04
kimmolior that...18:04
tbrthat one is exactly how mine looks18:04
kimmoliok, did you measure the burder voltage?18:04
kimmolin18:04
kimmolior shunt-resistance18:04
tbrdidn't go that far. just did a quick check if the multimeter matched up with the voltage I measured across pins of the connector and the current was the same that the bench PSU claimed18:05
tbrI can measure the shunt ofc18:05
kimmoliook. ordered 2, one will go to xmas-present...18:06
kimmoli(if i remember)18:06
tbrI think the shunt is beyond my multimeter. both + and - show me 0.6 Ohm between input and output port18:09
tbrwhich coincidentally is the same that my meter says if I just touch both probes to each other... >.<18:09
kimmoli:) ok...18:12
kimmolieasier is then to apply 1A load and measure voltage drop on either line18:12
kimmolior propably you can read it there, on top of resistor...18:13
tbryeah, not going to desolder the display though :)18:14
tbrif you end up designing a 3D-printed case for it, I wouldn't mind a copy. ;)18:15
kimmolihow long it took to delivery, 10 days?18:16
tbrlet me get you the exact number18:17
tbrOrder Time: 10:53 Aug. 31 201418:18
tbrdelivered today. pickup at post office, as it came as "registered letter"18:18
kimmoliurf18:19
kimmolibest from china has been just less than 2 weeks, 9 working days18:19
kimmolion sunday, i ordered this kailatec.fi/kauppa/t/Hydraulisylinteri-CL-70.-40.-250-GE/460 and it was in posti-pakettiautomaatti 16:57 today18:20
tbrcolleague ordered a couple of RPis with express shipping from a finnish company. arrived today, in the evening around 17. "meh"18:22
tbrordered on friday18:22
kimmoli(and i was in that shop around 16:30... will pickup tomorrow morning)18:22
kimmolii need to figure out something to do with my RPis'18:23
kimmoliIoT...18:23
tbrif you pay a lot for express shipping, you'd expect thay manage within a business day18:23
tbrthey are good for ID-IoT (pronounce fast)18:24
tbrIMHO pi is good enough as a set top box, it stinks at everything else. Several MB binary blob just to boot it, meh.18:24
kimmolihave made few different os images on sdcard but nothing more18:25
kimmoliaa tested pygpio tjsp18:25
kimmolii have also UDOO, virgin. unpowered18:26
kimmolithis is first day for ages that i have had something else on jolla than toholed...18:31
kimmolihttp://www.osram.com/osram_com/tools-and-services/tools/lightify---smart-connected-light/index.jsp18:36
tbrhack-my-light-bulb!18:37
tbrso according to osram all that consumers want is colour controlled lighting? wtf18:39
tbrthey could of course give me a full kit of theirs and I would hook it up to the toilet. could have nice mood lighting, yellow, brown-ish, fresh flush blue18:41
kimmoligreen, ready for reflush18:46
kimmoli:) giving modem/nat config instructions over gtalk to a friend.. suddenly offline18:48
kimmolistarterkit at clasohlson 99,94 or something18:48
kimmolihttp://www.clasohlson.com/fi/Aloituspakkaus-Osram-Lightify/36-592418:49
tbrso it's one bulb and that gatewaymabob? 'spensive18:53
kimmoliyep. they advertised it on tv... on stock 8.10.18:55
*** lbt has quit IRC19:00
*** lbt has joined #sailfishos-push19:02
*** inz has quit IRC19:56
*** inz has joined #sailfishos-push19:57

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!