Blog geekesque... ou presque

Aller au contenu | Aller au menu | Aller à la recherche

Internet des objets facile avec Cayenne ?

On m'a fait découvrir Cayenne, qui permet de simplifier l'IoT ou, en français, l'Internet des Objets avec un Raspberry Pi.

J'ai testé, et pour l'instant je ne suis pas convaincu.

L'installation

Une fois le compte créé, vous ajoutez depuis la console Cayenne un Raspberry Pi, le système génère un script unique que vous téléchargez et lancez, tout s'installe tout seul. Un peu trop tout seul d'ailleurs, vous n'avez pas la moindre maîtrise de ce qui est ajouté ou configuré. Mais ça marche...

Votre framboise reboote et tout est fonctionnel, vous la voyez sur votre interface et vous pouvez commencer à tester.

La configuration

Tout se fait depuis le site de Cayenne, vous n'avez rien à toucher sur le RPi, et ça marche plutôt très bien !

Les déclencheurs

La première chose que j'ai testée, c'est la possibilité d'avoir des alertes en fonction de l'état de certains capteurs. Le tout premier test fut donc de me faire envoyer un SMS lorsque mon RPi était offline. Plutôt efficace, à un détail que l'on verra plus tard.

Ensuite, j'ai voulu me mettre une alerte sur la température du CPU, en me disant que quitte à monitorer l'environnement, je pouvais aussi monitorer le coeur. Première déception: si la température du processeur est bien présente dans les détails du CPU, impossible de s'en servir de déclencheur.

Et pour l'instant, le système ne gère que des températures en °Farenheit, donc à vos tables de conversion.

Les capteurs et actionneurs

J'ai investi (bon, ça a dû me coûter 5€) dans une sonde de température et d'humidité, un modèle très courant (le AM2302), il fonctionne très bien avec mon propre projet de monitoring (RaspStats pour ceux que ça intéresse), et donc je veux essayer de gérer cette sonde avec Cayenne.

  • cette sonde n'est pas présente dans la liste des sondes de température,
  • il n'y a pas de sondes d'hygrométrie dans la liste,
  • on ne peut ajouter, en modèle générique, que des sondes Analogiques (avec un adaptateur) ou Digitales, aucune sonde "1-wire"

Notons tout de même que Cayenne a reconnu que j'avais un élément 1-wire connecté. Et les sondes Adafruit devraient bientôt être reconnues.

Malgré tout, la liste des capteurs, actionneurs et extensions couvre une large palette, on peut la plupart du temps utiliser les modèles génériques et les développeurs travaillent à ajouter les modèles demandés par la communauté.

Les widgets

Faire un widget de contrôle, c'est simple comme bonjour ! En fait, il se crée automatiquement lorsqu'on ajoute un capteur ou un actionneur. Le seul petit bémol (mais aussi en cours de correction) est que l'on ne peut créer qu'un widget par objet. Mais dans la plupart des cas, cela suffit amplement.

En fonctionnement

N'ayant pas tous les éléments compatibles avec cette application, j'ai donc laissé tourner au minima. Comme je le disais plus haut, j'ai bien reçu mes alertes lorsque le RPi se déconnectait d'internet, elles ont même été un peu trop fréquentes. Et sur la console, j'ai vu l'état de ma RAM...

Ayant aussi le suivi grâce à RaspStats, j'ai un joli historique: ram_load.png Je vous laisse deviner quand j'ai installé Cayenne, et à quels moments j'ai reçu les alertes de déconnexion.

Désinstallation

Ne tentez même pas de supprimer simplement Cayenne, c'est une usine à gaz. J'ai demandé sur le forum communautaire s'il y avait une procédure simple, la réponse a été not yet. Pour l'instant, je le laisse donc tourner, je trouverai bien quelques capteurs à essayer. L4autre option étant une réinstallation complète du système...

Conclusion

Je suis mitigé, mais je n'oublie pas qu'il s'agit d'un produit en version beta, et non commercial. Je fais donc remonter mes remarques à la communauté et j'espère contribuer à l'évolution de ce système.

L'une de mes premières demandes, et j'attends vivement la réponse, est : comment peut-on contribuer en créant ses propres modules ? Car tant que Cayenne ne sera pas capable de gérer la totalité des capteurs et actionneurs, il faudra que la communauté mette la main à la pâte.

Pour ne pas finir sur une note négative, ou qui semble négative, il y a une chose que j'apprécie tout particulièrement: la carte des GPIO en temps réel. Très utile, un excellent moyen de voir si vous n'avez pas un branchement loupé ou un câble coupé.

Commentaires

1. Le mardi 12 septembre 2017, 17:15 par direct

My fɑmily members all the time say that I am wasting my
time hеre at net, except I know I am getting experience every daу by reading thes
fastidious content.

2. Le dimanche 1 octobre 2017, 05:41 par american extensions

I want to to thank you for this fantastic read!! I absolutely enjoyed every bit of
it. I've got you book marked to look at new things you post…

3. Le dimanche 1 octobre 2017, 17:01 par gratis brazil dating

After I initially left a comment I appear to have clicked the -Notify
me when new comments are added- checkbox and now every time a comment is added I recieve
4 emails with the same comment. There has to be an easy method you can remove me
from that service? Kudos!

4. Le lundi 2 octobre 2017, 05:06 par Almeda

Spot on with this write-up, I absolutely believe that this website needs
much more attention. I'll probably be returning to read through more, thanks for the info!

5. Le lundi 2 octobre 2017, 21:41 par Umanizzare presidios

I don't even know the way I ended up right here, but I thought this submit was good.
I do not realize who you might be however definitely
you are going to a famous blogger if you happen to are not already.
Cheers!

6. Le mardi 3 octobre 2017, 11:11 par Carlos Eduardo Veiga

Hi it's me, I am also visiting this website on a regular basis, this site is truly nice and the visitors are
actually sharing good thoughts.

7. Le mardi 3 octobre 2017, 12:21 par Angie

It's going to be end of mine day, but before end I am reading this enormous piece of writing to increase my know-how.

8. Le mardi 3 octobre 2017, 13:49 par extensions birmingham

Undeniably believe that which you said. Your favorite
justification seemed to be on the net the simplest thing to be aware of.
I say to you, I definitely get annoyed while people consider worries that they just do not know about.
You managed to hit the nail upon the top and also defined out the
whole thing without having side-effects , people could take
a signal. Will likely be back to get more. Thanks

9. Le mercredi 4 octobre 2017, 12:34 par Sherri

Thanks in support of sharing such a nice thought, article is
fastidious, thats why i have read it fully

10. Le mercredi 4 octobre 2017, 13:30 par holiday travel cruise

What i don't realize is actually how you're no longer actually much more well-preferred than you might be right now.

You're so intelligent. You already know thus considerably in terms of this matter, made me individually imagine it from
a lot of varied angles. Its like women and men aren't fascinated until it's one thing to accomplish with Woman gaga!
Your own stuffs nice. Always handle it up!

11. Le mercredi 4 octobre 2017, 16:47 par best butt

Unquestionably believe that which you stated. Your
favorite reason seemed to be on the web the easiest thing to be
aware of. I say to you, I definitely get annoyed while people think
about worries that they plainly do not know about.
You managed to hit the nail upon the top and also defined out the whole thing without having side effect ,
people could take a signal. Will probably be back to get more.
Thanks

12. Le mercredi 4 octobre 2017, 20:23 par travel close

Hi would you mind stating which blog platform you're using?
I'm looking to start my own blog in the near future but I'm having
a difficult time choosing between BlogEngine/Wordpress/B2evolution and Drupal.

The reason I ask is because your design seems different then most blogs
and I'm looking for something completely unique.
P.S Apologies for being off-topic but I had to ask!

13. Le jeudi 5 octobre 2017, 10:09 par heart disease multiply

I'm amazed, I have to admit. Seldom do I come across a blog that's both educative and entertaining, and let me tell you, you have hit the nail on the head.
The problem is something which too few people are speaking intelligently about.

I'm very happy I found this in my search for something regarding this.

14. Le jeudi 5 octobre 2017, 12:27 par make holiday travel

What's Going down i'm new to this, I stumbled upon this I have discovered It absolutely useful and it has helped
me out loads. I'm hoping to contribute & assist different customers
like its aided me. Great job.

15. Le jeudi 5 octobre 2017, 13:55 par holiday travel today

It's actually a cool and helpful piece of info. I'm happy that you shared this useful information with
us. Please stay us up to date like this. Thanks for sharing.

16. Le jeudi 5 octobre 2017, 19:08 par holiday travel today

Asking questions are in fact nice thing if you are not understanding
anything completely, except this piece of
writing gives fastidious understanding yet.

17. Le vendredi 6 octobre 2017, 00:44 par Rory

Thank you for the auspicious writeup. It in truth used to be a entertainment
account it. Look complex to far brought agreeable from you!
By the way, how could we keep in touch?

18. Le vendredi 6 octobre 2017, 03:35 par butt workout

This design is steller! You obviously know how to keep a reader
entertained. Between your wit and your videos, I was
almost moved to start my own blog (well, almost...HaHa!) Fantastic job.
I really enjoyed what you had to say, and more than that, how
you presented it. Too cool!

19. Le vendredi 6 octobre 2017, 06:42 par best butt

Great beat ! I wish to apprentice whilst you amend your web site, how could i subscribe for a blog web site?
The account helped me a appropriate deal. I were tiny bit acquainted of this your broadcast provided brilliant transparent idea

20. Le samedi 7 octobre 2017, 08:19 par heart disease

Heya i am for the first time here. I found this board and I find It really useful &
it helped me out much. I hope to give something back and help others like you helped me.

21. Le samedi 7 octobre 2017, 18:25 par Mauro Luiz Soares Zamprogno

Hello would you mind letting me know which web host you're working with?
I've loaded your blog in 3 different internet browsers and I must say this blog loads a lot
quicker then most. Can you suggest a good internet hosting provider at a fair price?
Kudos, I appreciate it!

22. Le dimanche 8 octobre 2017, 02:00 par holiday travel around

Thank you for the good writeup. It actually
was once a entertainment account it. Look complex to more delivered agreeable from you!
By the way, how can we keep in touch?

23. Le lundi 9 octobre 2017, 11:28 par tercioborlenghijunior.com

Fabulous, what a webpage it is! This blog gives
valuable data to us, keep it up.

24. Le lundi 9 octobre 2017, 14:23 par soccer jerseys

It's going to be ending of mine day, except before finish I am reading this wonderful piece of writing to improve
my know-how.

25. Le lundi 9 octobre 2017, 15:15 par dating sites frequently

I just like the helpful info you supply on your articles.
I'll bookmark your weblog and check again here regularly.
I'm quite sure I'll be informed plenty of new stuff right right here!
Best of luck for the following!

26. Le mardi 10 octobre 2017, 11:41 par Maryjo

Hey there, You've done an excellent job. I will definitely digg it and personally suggest to my friends.
I am confident they will be benefited from this site.

27. Le mercredi 11 octobre 2017, 03:43 par cell phone numbers lookup

Just wish to say your article is as surprising. The clarity in your post is just great and i can assume you are an expert on this subject.
Fine with your permission let me to grab your RSS feed to keep updated with forthcoming post.
Thanks a million and please continue the rewarding work.

28. Le mercredi 11 octobre 2017, 06:37 par developing heart disease

Magnificent beat ! I wish to apprentice at the same time as you amend your web site, how can i subscribe for a blog website?
The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast provided brilliant transparent idea

29. Le mercredi 11 octobre 2017, 09:38 par well-known dating sites

Thanks , I have just been looking for information approximately this subject for a while and yours is the best I have came upon so far.
However, what concerning the conclusion? Are you positive
about the supply?

30. Le mercredi 11 octobre 2017, 09:47 par http://madbuddies.com/

I am actually happy to read this website posts which carries lots of
useful facts, thanks for providing such information.

31. Le mercredi 11 octobre 2017, 09:49 par traveling jobs

Wow, this piece of writing is fastidious, my sister is analyzing such things, so
I am going to tell her.

32. Le mercredi 11 octobre 2017, 11:33 par route travel tips

Can you tell us more about this? I'd care to
find out more details.

33. Le mercredi 11 octobre 2017, 12:34 par Luiz Gastão Bittencourt da Silva

With havin so much content and articles do you ever run into
any issues of plagorism or copyright violation? My blog has a
lot of completely unique content I've either
written myself or outsourced but it appears a lot of it is popping it up all over the web without
my permission. Do you know any ways to help protect against content from being ripped
off? I'd certainly appreciate it.

34. Le mercredi 11 octobre 2017, 19:08 par travel news

Sweet blog! I found it while searching on Yahoo News.
Do you have any tips on how to get listed in Yahoo
News? I've been trying for a while but I never seem to get there!
Appreciate it

35. Le vendredi 13 octobre 2017, 01:52 par reverse phone directory

It's not my first time to go to see this web page, i am visiting this web
page dailly and get pleasant facts from here everyday.

36. Le vendredi 13 octobre 2017, 08:12 par brazil butt lift

I am actually grateful to the owner of this site who has shared this enormous piece of writing at here.

37. Le vendredi 13 octobre 2017, 16:29 par brazil butt

obviously like your web site however you need to test the spelling on several of your posts.

Many of them are rife with spelling issues and I in finding it very bothersome to tell the
reality then again I will definitely come again again.

38. Le samedi 14 octobre 2017, 02:40 par http://westwoodeducation.com/UserProfile/tabid/61/userId/412876/Default.aspx

I think the admin of this site is really working hard in favor of his web site, since here every material is quality
based data.

39. Le samedi 14 octobre 2017, 02:50 par n8vb.duckdns.org

You actually make it appear so easy with your presentation but I to find this topic to be really something which I feel I'd by no means
understand. It seems too complicated and extremely wide for
me. I'm taking a look forward to your next put up, I will attempt to get the grasp of it!

40. Le samedi 14 octobre 2017, 12:32 par sand asbestos

It's fantastic that you are getting thoughts from this piece of writing as well as from our
dialogue made here.

41. Le dimanche 15 octobre 2017, 07:13 par Trevor

Hi to all, the contents existing at this web site are truly
remarkable for people experience, well, keep up the nice work fellows.

42. Le dimanche 15 octobre 2017, 09:08 par contract phones reduces

If you wish for to improve your knowledge only keep visiting this website and be updated
with the most recent gossip posted here.

43. Le lundi 16 octobre 2017, 00:25 par website design

Hello, Neat post. There's an issue along with your web site
in internet explorer, might check this? IE
nonetheless is the market leader and a big element of people will leave out your great writing because of this
problem.

44. Le lundi 16 octobre 2017, 07:52 par Buford

Awesome! Its actually remarkable piece of writing, I have got much clear idea about from this post.

45. Le lundi 16 octobre 2017, 09:25 par timex watches

Having read this I thought it was rather informative. I
appreciate you finding the time and energy to put this article together.
I once again find myself spending a lot of
time both reading and commenting. But so what, it was still worth it!

46. Le mardi 17 octobre 2017, 03:08 par smart phones

I go to see each day some sites and blogs to read articles, however this webpage offers feature based writing.

47. Le mardi 17 octobre 2017, 22:46 par Lelio Vieira Carneiro Junior

When some one searches for his required thing,
so he/she needs to be available that in detail,
so that thing is maintained over here.

48. Le mardi 17 octobre 2017, 22:49 par Itamar Serpa Fernandes

Excellent beat ! I wish to apprentice even as you amend your site, how can i subscribe
for a weblog site? The account helped me a appropriate deal.

I were a little bit familiar of this your broadcast provided shiny transparent concept

49. Le mercredi 18 octobre 2017, 12:13 par José Wilame Araújo Rodrigues

Howdy! This is my first comment here so I just wanted to
give a quick shout out and tell you I truly enjoy reading your articles.

Can you recommend any other blogs/websites/forums that go over the same subjects?
Thank you!

50. Le jeudi 19 octobre 2017, 00:12 par timex look

We are a group of volunteers and opening a new scheme in our community.
Your site offered us with valuable info to work on. You have done a formidable job and our entire community will be thankful to you.

51. Le jeudi 19 octobre 2017, 03:00 par Itamar Serpa Fernandes

Normally I do not read article on blogs, but I would like to say
that this write-up very forced me to try and do it!
Your writing style has been surprised me. Thank you, very nice post.

52. Le jeudi 19 octobre 2017, 03:00 par Itamar Serp

You need to take part in a contest for one of the highest quality blogs online.

I will recommend this web site!

53. Le jeudi 19 octobre 2017, 04:04 par Carlos Eduardo Correa da Veig

Excellent post. Keep posting such kind of information on your page.
Im really impressed by it.
Hey there, You've done a fantastic job. I will definitely digg it and in my
opinion recommend to my friends. I am confident they'll
be benefited from this web site.

54. Le jeudi 19 octobre 2017, 15:24 par José Wilame Araújo Rodrigues

Nice post. I was checking continuously this blog and I am impressed!
Very useful information specially the last part :) I care for
such info a lot. I was seeking this certain info for
a very long time. Thank you and good luck.

55. Le jeudi 19 octobre 2017, 20:29 par Itamar Serpa Fernandes

Pretty! This has been an incredibly wonderful post.
Many thanks for providing this information.

56. Le jeudi 19 octobre 2017, 21:02 par José Wilame Araújo Rodrigues

Hi, i feel that i noticed you visited my web site so i came to return the desire?.I'm attempting to
find things to improve my web site!I assume its good enough to make use of some of your ideas!!

57. Le jeudi 19 octobre 2017, 21:18 par Lelio Vieira Carneiro Junior

Hi there, all the time i used to check blog posts here early in the dawn,
because i enjoy to learn more and more.

58. Le jeudi 19 octobre 2017, 23:23 par Itamar Serp

Thanks very interesting blog!

59. Le vendredi 20 octobre 2017, 05:34 par Lélio Vieira Carneiro Junio

It's very effortless to find out any topic on web as compared to
books, as I found this article at this web page.

60. Le vendredi 20 octobre 2017, 11:47 par Luiz Gastão Bittencourt

Thanks for sharing your thoughts about hello. Regards

61. Le vendredi 20 octobre 2017, 13:01 par Luiz Fernando Monteiro Bittencourt

whoah this blog is wonderful i love studying your posts.
Keep up the great work! You realize, a lot of individuals are looking round for this info, you can help them greatly.

62. Le vendredi 20 octobre 2017, 23:49 par Lélio Vieira Carneiro Junio

I've been browsing on-line greater than 3 hours today, but I by
no means discovered any attention-grabbing article like yours.
It is pretty value enough for me. In my view, if all web
owners and bloggers made excellent content as you probably did,
the web shall be much more helpful than ever before.

63. Le samedi 21 octobre 2017, 00:08 par Lelio Vieira Carneiro

Good day! Do you use Twitter? I'd like to follow you if that would be okay.
I'm definitely enjoying your blog and look forward to new posts.

64. Le samedi 21 octobre 2017, 01:30 par Carlos Eduardo Correa da Veig

Its like you read my mind! You seem to know so
much about this, like you wrote the book in it or something.

I think that you could do with a few pics to
drive the message home a little bit, but other than that,
this is magnificent blog. An excellent read. I'll certainly
be back.

Ajouter un commentaire

Le code HTML est affiché comme du texte et les adresses web sont automatiquement transformées.

La discussion continue ailleurs

URL de rétrolien : https://www.g33k-zone.org/index.php?trackback/99

Fil des commentaires de ce billet