*** Merbot has joined #sailfishos-push | 09:04 | |
kimmoli | tbr: got an idea how to get mqtt / puhs notification promoted | 09:08 |
---|---|---|
kimmoli | push notification when update is available... | 09:08 |
tbr | ooooh, nice | 09:09 |
tbr | one-off-app | 09:09 |
tbr | btw: your hilight reached me via irssi mqtt and then bluetooth low energy to my meta-watch! | 09:10 |
tbr | I wonder if we have enough time to push the app through to the store ;) | 09:11 |
kimmoli | and then by 450-700nm to your eyes ? | 09:11 |
tbr | first via haptic feedback to my wrist | 09:11 |
tbr | but yes | 09:12 |
tbr | I think inz wanted to do a similar thing, we could use that as a general purpose pilot? | 09:12 |
tbr | was the funny app release guesser in jolla store? | 09:12 |
tbr | we could work with the author to add this as a real feature | 09:13 |
kimmoli | :) | 09:14 |
kimmoli | i think it is easy enough to do, but problem with app is that it needs to be running | 09:14 |
kimmoli | and daemons are tricky to get in store | 09:14 |
tbr | yes, but those nut jobs who want to know about the update instantly will keep it running | 09:24 |
tbr | does the store accept python or do we need to whip up something with libmosquitto and an iphb patch? | 09:25 |
tbr | I can look into all that tonight, as I have a temporary gig doing IoT stuff for 2 weeks | 09:25 |
kimmoli | oOOOo | 09:26 |
kimmoli | python not yet afaik | 09:26 |
kimmoli | so libmosquitto it is... | 09:27 |
tbr | need to look at libmosquitto code, there will be some busy loop similar to what I patched in the python version | 10:14 |
tbr | just needs iphb added in there to force wakeup every n seconds | 10:14 |
kimmoli | y. similar stuff is done in toholed daemon, it also has snippet to create notifications... | 10:23 |
*** gbour has joined #sailfishos-push | 13:14 | |
gbour | Hi. I read on mer meeting minutes that you guys are working on a push system for Jolla phones | 13:25 |
gbour | Is there some code or documentation somewhere ? | 13:25 |
tbr | there is a semi up to date wiki page and an high level architecture diagram that I tweeted | 13:56 |
tbr | I'm making slow progress defining how the dbus bridging and interfacing will look for the first iteration | 13:57 |
gbour | thx tbr | 13:59 |
gbour | I was started to work on my own solution based on MQTT too, when I saw the news | 14:02 |
tbr | :) | 14:04 |
tbr | the 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 connection | 14:05 |
gbour | yes | 14:05 |
gbour | I started from the server side, maybe we could merge our work ? | 14:05 |
tbr | what do you have on the server side? | 14:06 |
gbour | basically just a server (written in Erlang) decoding MQTT messages (very early stage) | 14:07 |
tbr | I 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 that | 14:09 |
tbr | I have to leave now. But I'll be online later, let's continue the discussion. | 14:10 |
gbour | ok. see you | 14:10 |
*** lbt has quit IRC | 16:11 | |
*** lbt has joined #sailfishos-push | 16:13 | |
kimmoli | oo. | 17:27 |
kimmoli | got 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 |
kimmoli | if "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 |
tbr | but yes, very good idea | 17:56 |
tbr | meanwhile more chinese crap arrived \o/ | 17:58 |
tbr | this little USB voltmeter/amperemeter/powermeter/coulombcounter is pretty nifty and I'd say well worth the USD 8.88 I paid for it | 17:59 |
kimmoli | link? | 17:59 |
* kimmoli has always wanted to have moar chinacrap | 18:00 | |
tbr | also 2x18650 "power banks" are cheap plastic crap, but work fine. 3.5$ | 18:00 |
tbr | http://www.aliexpress.com/item/1-piece-Mini-OLED-USB-Charger-Capacity-power-Current-Voltage-Detector-Tester-Meter/1974934810.html | 18:00 |
kimmoli | sounds expensive. | 18:00 |
kimmoli | oooled | 18:00 |
tbr | yes | 18:00 |
tbr | I bought it because it shows four values simultaneously and ooooooh shiny OLED! | 18:01 |
kimmoli | bro got email from china (ebay) that due traffic accident they will reship his goods | 18:01 |
tbr | display is b/w not that photoshopped blue/white | 18:01 |
kimmoli | it did look too good | 18:01 |
tbr | I measured it up with a multi-meter. It is reasonably accurate. wouldn't trust the LSD, but hey who cares. | 18:02 |
tbr | also 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 |
tbr | nor did they mess with D+/D- | 18:03 |
kimmoli | http://www.aliexpress.com/item/USB-Charger-USB-Mobile-Power-Monitor-Meter-Voltage-Current-Power-Capacity-4in1-Multifunction-USB-Measure-Meter/1874678172.html | 18:03 |
kimmoli | is this closer-real-thing ? | 18:03 |
kimmoli | the display mean | 18:03 |
kimmoli | http://www.aliexpress.com/item/Mini-OLED-USB-Charger-Capacity-power-Current-Voltage-Detector-Tester-Meter/1932167117.html | 18:04 |
tbr | yes, that's the display | 18:04 |
kimmoli | or that... | 18:04 |
tbr | that one is exactly how mine looks | 18:04 |
kimmoli | ok, did you measure the burder voltage? | 18:04 |
kimmoli | n | 18:04 |
kimmoli | or shunt-resistance | 18:04 |
tbr | didn'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 claimed | 18:05 |
tbr | I can measure the shunt ofc | 18:05 |
kimmoli | ook. ordered 2, one will go to xmas-present... | 18:06 |
kimmoli | (if i remember) | 18:06 |
tbr | I think the shunt is beyond my multimeter. both + and - show me 0.6 Ohm between input and output port | 18:09 |
tbr | which coincidentally is the same that my meter says if I just touch both probes to each other... >.< | 18:09 |
kimmoli | :) ok... | 18:12 |
kimmoli | easier is then to apply 1A load and measure voltage drop on either line | 18:12 |
kimmoli | or propably you can read it there, on top of resistor... | 18:13 |
tbr | yeah, not going to desolder the display though :) | 18:14 |
tbr | if you end up designing a 3D-printed case for it, I wouldn't mind a copy. ;) | 18:15 |
kimmoli | how long it took to delivery, 10 days? | 18:16 |
tbr | let me get you the exact number | 18:17 |
tbr | Order Time: 10:53 Aug. 31 2014 | 18:18 |
tbr | delivered today. pickup at post office, as it came as "registered letter" | 18:18 |
kimmoli | urf | 18:19 |
kimmoli | best from china has been just less than 2 weeks, 9 working days | 18:19 |
kimmoli | on sunday, i ordered this kailatec.fi/kauppa/t/Hydraulisylinteri-CL-70.-40.-250-GE/460 and it was in posti-pakettiautomaatti 16:57 today | 18:20 |
tbr | colleague ordered a couple of RPis with express shipping from a finnish company. arrived today, in the evening around 17. "meh" | 18:22 |
tbr | ordered on friday | 18:22 |
kimmoli | (and i was in that shop around 16:30... will pickup tomorrow morning) | 18:22 |
kimmoli | i need to figure out something to do with my RPis' | 18:23 |
kimmoli | IoT... | 18:23 |
tbr | if you pay a lot for express shipping, you'd expect thay manage within a business day | 18:23 |
tbr | they are good for ID-IoT (pronounce fast) | 18:24 |
tbr | IMHO 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 |
kimmoli | have made few different os images on sdcard but nothing more | 18:25 |
kimmoli | aa tested pygpio tjsp | 18:25 |
kimmoli | i have also UDOO, virgin. unpowered | 18:26 |
kimmoli | this is first day for ages that i have had something else on jolla than toholed... | 18:31 |
kimmoli | http://www.osram.com/osram_com/tools-and-services/tools/lightify---smart-connected-light/index.jsp | 18:36 |
tbr | hack-my-light-bulb! | 18:37 |
tbr | so according to osram all that consumers want is colour controlled lighting? wtf | 18:39 |
tbr | they 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 blue | 18:41 |
kimmoli | green, ready for reflush | 18:46 |
kimmoli | :) giving modem/nat config instructions over gtalk to a friend.. suddenly offline | 18:48 |
kimmoli | starterkit at clasohlson 99,94 or something | 18:48 |
kimmoli | http://www.clasohlson.com/fi/Aloituspakkaus-Osram-Lightify/36-5924 | 18:49 |
tbr | so it's one bulb and that gatewaymabob? 'spensive | 18:53 |
kimmoli | yep. they advertised it on tv... on stock 8.10. | 18:55 |
*** lbt has quit IRC | 19:00 | |
*** lbt has joined #sailfishos-push | 19:02 | |
*** inz has quit IRC | 19:56 | |
*** inz has joined #sailfishos-push | 19:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!