Code Monkey home page Code Monkey logo

linky-collector's Introduction

Languages

GitHub stats GitHub stats

Main projects

Home automation

Vue-dom Web front end for the home automation software Jeedom.

Jeedom Websocket Plugin to provide a client-server communication over websocket protocol.

Netatmo Node.JS API Node.js wrapper for Netatmo API.

Netatmo collector PHP script for requesting measures from Netatmo devices.

Synology SRM Node.JS API Node.js wrapper for Synology Router Manager (SRM) API.

Synology SRM PHP API PHP wrapper for Synology Router Manager (SRM) API.

XMPP

XMPP Web Lightweight web chat client for XMPP server.

XMPP Bot A tiny little bot making the link between XMPP conversations and webhooks.

Media

Web Music Player [unmaintained] Play your own music on any device connected to the web (pc, smartphone, tablet, ...). It can work as a standalone application or in your smartphone browser.

Tumblr Photo Browse [unmaintained] Android application for browsing photos posted on Tumblr.

Miscellaneous

Own My Money Stay on top of your banking from any web browser.

Registry & published packages

NPM Packagist Docker Hub

Skills

JavaScript Vue.js Bulma Buefy HTML5 SASS CSS3

NodeJS PHP Node-RED

Apache Nginx

MongoDB MariaDB SQLite Redis

Docker Ansible

Tools & environment

Visual Studio Code Android Studio Git Gimp Gnu Image Manipulation Program Inkscape Blender

Debian Ubuntu

GitHub Actions TravisCI ESLint

For fun...

Steam Playstation

linky-collector's People

Contributors

nioc avatar

Stargazers

 avatar

Watchers

 avatar  avatar

linky-collector's Issues

Excellent work.

Hello,

You really did a great job.
I put it in place without any problem and compared with data that I recovered from another application.
For me, the data is correct in Grafana.

Thank you very much for this excellent job.

Patrick

ERROR Can not get last fetch (hourly)

Hello, i got a new error in the linky-collect.log:

2019-09-14T18:03:46+02:00  main     DEBUG  Start initialization
2019-09-14T18:03:46+02:00  Storage  DEBUG  Connecting to database linky (http://localhost:8086)
2019-09-14T18:03:46+02:00  Linky    DEBUG  Authentication to Enedis API for user: ENEDIS_LOGIN
2019-09-14T18:03:46+02:00  Linky    DEBUG  HTTP request: POST https://espace-client-connexion.enedis.fr/auth/UI/Login
2019-09-14T18:03:47+02:00  Linky    DEBUG  HTTP code: 200, duration: 0.538244 sec
2019-09-14T18:03:47+02:00  Linky    DEBUG  HTTP request: GET https://espace-client-particuliers.enedis.fr/group/espace-particuliers/accueil
2019-09-14T18:03:50+02:00  Linky    DEBUG  HTTP code: 200, duration: 2.89312 sec
2019-09-14T18:03:50+02:00  Storage  DEBUG  Get last fetch date for hourly
2019-09-14T18:03:50+02:00  Storage  ERROR  Can not get last fetch (hourly)
2019-09-14T18:03:50+02:00  Linky    ERROR  Failure during hourly data processing
2019-09-14T18:03:50+02:00  Linky    DEBUG  Can not get last fetch
2019-09-14T18:03:50+02:00  Storage  DEBUG  Get last fetch date for daily
2019-09-14T18:03:50+02:00  Storage  ERROR  Can not get last fetch (daily)
2019-09-14T18:03:50+02:00  Linky    ERROR  Failure during daily data processing
2019-09-14T18:03:50+02:00  Linky    DEBUG  Can not get last fetch
2019-09-14T18:03:50+02:00  main     INFO   End Enedis collect

Could you please help me ?

Thanks.
Chris

PHP Fatal error: Uncaught Error: Call to undefined function simplexml_load_file()

Hello,
When i try the php script, i obtain an error:

root@metrix02:/opt/linky-collector# php -f /opt/linky-collector/index.php

PHP Fatal error:  Uncaught Error: Call to undefined function simplexml_load_file() in /opt/linky-collector/vendor/apache/log4php/src/main/php/configurators/LoggerConfigurationAdapterXML.php:87
Stack trace:
#0 /opt/linky-collector/vendor/apache/log4php/src/main/php/configurators/LoggerConfigurationAdapterXML.php(42): LoggerConfigurationAdapterXML->loadXML('config.xml')
#1 /opt/linky-collector/vendor/apache/log4php/src/main/php/configurators/LoggerConfiguratorDefault.php(158): LoggerConfigurationAdapterXML->convert('config.xml')
#2 /opt/linky-collector/vendor/apache/log4php/src/main/php/configurators/LoggerConfiguratorDefault.php(114): LoggerConfiguratorDefault->parseFile('config.xml')
#3 /opt/linky-collector/vendor/apache/log4php/src/main/php/configurators/LoggerConfiguratorDefault.php(83): LoggerConfiguratorDefault->parse('config.xml')
#4 /opt/linky-collector/vendor/apache/log4php/src/main/php/Logger.php(543): LoggerConfiguratorDefault->configure(Object(LoggerHierarchy), 'config.xml')
#5 /opt/linky-collector/index.php(10): Log in /opt/linky-collector/vendor/apache/log4php/src/main/php/configurators/LoggerConfigurationAdapterXML.php on line 87

Could you please help me ?
Thanks.
Chris

Script does not work anymore

Unfortunately, this script does not work anymore since Enedis has changed authentication mechanism without providing public API… 😞
If ever Enedis allow customers to use the “Data connect” API, I will update this project.
You can subscribe to this issue to stay informed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.