First app: Netatmo thermostat control? [answered]
I just got a Netatmo home heating thermostat. They also make a home weather station and other gear.
It has an Android app whichworks OK on Alien. It's pretty simple: you can set the temperature or change programme times remotely.
They have some APIs: https://dev.netatmo.com/en-US/resources/technical/samplessdks There is no Sailfish SDK (surprise) but there are Python snippits and ISTR reading that the you can write Sailfish apps in Python - though I don't know if anybody does. I can cobble together Python (I learned programming before the advent of OO) but don't know C. I've played with QT creator on Linux and I loaded up the SDK when I got my Jolla C but never used it for anything.
So I have a question for you app devevopers. Does this look feasible as a first app? Does the Sailfish SDK really work with Python? Are there limitations - eg is Flask available? What issues might I expect?
Someone said elsewhere that if you need an Android app then use Android. This is an example of an app I absolutely need.
Edited to add: Thanks to all. I think I can do this. I'll close the question and maybe reopen it if I get stuck. It's take some months before I have time to do it - just moved house!
wow, that's a lot of money for a thermostat.
I've still yet to make an app from scratch, but find the learning curve very, very steep, but then I am also a slow learner.
Perhaps you should have a good play with some python examples on the SDK before going anywhere near attempting to write your own first app.
Spam Hunter ( 2018-10-06 13:06:04 +0300 )editCost me 50GBP on ebay: less than half price. But even at that price you'd have to be very disorganised or profligate to save money. But it's a neat gizmo.
Back before I had the Jolla C I did actually try developing a python app for the emulator, but didn't succeed. I wrote about it then:
https://together.jolla.com/question/137805/how-to-run-python-app-in-the-sdk-emulator/
So I'm sceptical whether python is actually usable.
I've developed several python/curses scripts on Linux - I could do that. But a GUI would be nice. Displaying the temperature and turning the stat up and down could be done from the cover.
DaveRo ( 2018-10-06 15:04:00 +0300 )editWhile I am not sure how easy or hard it would be, I would love an app for Netatmo. I don't really know much about programming, but I would love to help, maybe translating, even funding. If there is anything I can help with, let me know.
bkos ( 2018-10-06 19:04:55 +0300 )editI have developed an very first, very draft app (for the dutch thermosmart themostat), I could post the code temporarely if you're interested....
rgrnetalk ( 2018-10-06 19:52:00 +0300 )edit@rgrnetalk Using Python, C, or something else? Yes, I'd like to see it - I expect the functionality is similar. If you don't want to post a link you could email it to the support address here: https://addons.mozilla.org/en-US/firefox/addon/jolla-askbot-unseen-posts/
I'd really like to hear from anyone who writes and maintains an app in Python, to reassure me it can be done.
DaveRo ( 2018-10-07 00:02:12 +0300 )edit