Ask / Submit
2

First app: Netatmo thermostat control? [answered]

asked 2018-10-06 12:40:06 +0200

DaveRo gravatar image

updated 2018-10-08 09:56:39 +0200

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!

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by DaveRo
close date 2018-10-08 09:57:43.820131

Comments

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.

Edz ( 2018-10-06 13:06:04 +0200 )edit

Cost 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 +0200 )edit
1

While 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 +0200 )edit

I 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 +0200 )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 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2018-10-08 00:21:50 +0200

rgrnetalk gravatar image

updated 2018-10-08 00:25:26 +0200

some more info on python apps (pls ignore if you have already found them):

And here is the temp git repository on the Thermosmart thermostate: https://github.com/rgrnetalk/harbour-thermosmart

the webview logon:

image description

and the firstpage of the app

image description

(I stopped because I had to implement a calendar like plannings scheme and some other app draw my attention ;- )

edit flag offensive delete publish link more

Comments

Thanks. That's really useful. Looks like I'll learn some Dutch too - "Gegevens worden opgevraagd."

DaveRo ( 2018-10-08 09:51:44 +0200 )edit

yeah realised that when i posted it, i will add translations for you (is only a couple of lines dutch

rgrnetalk ( 2018-10-08 11:56:02 +0200 )edit

@rgrnetalk Thanks, but there's no need. I can manage a bit of Dutch quite well.

DaveRo ( 2018-10-08 12:48:51 +0200 )edit

Ok, wat jij wil :)

rgrnetalk ( 2018-10-08 14:21:44 +0200 )edit

Yep! Don't need Mr Google to understand that :-)

DaveRo ( 2018-10-08 15:46:27 +0200 )edit

Question tools

Follow
3 followers

Stats

Asked: 2018-10-06 12:40:06 +0200

Seen: 426 times

Last updated: Oct 08