Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

kooltux/DEPRECATED_wwwatt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Yoctopuce Wattmeter (and other devices) web interface

** Install

  • clone wwwatt git

$ git clone git@git.vannes:lab/wwwatt

  • install node.js >0.10

$ sudo zypper ar http://download.opensuse.org/repositories/devel:/languages:/nodejs/openSUSE_12.2/ $ sudo zypper in nodejs

  • Build node modules

$ cd wwwatt $ ./reconfigure

  • Start the web server:

$ ./wwwattd

Loading config from /home/sdx/devel/wwwatt/etc/wwwattd.conf 2013-07-12T16:36:00.394Z - debug: DEBUG mode - console log not removed 2013-07-12T16:36:00.395Z - info: -------------- new daemon session ----------------- 2013-07-12T16:36:00.397Z - debug: Creating www server with config: { port: 8080, confdir: '/home/sdx/devel/wwwatt/etc', htdocs: '/home/sdx/devel/wwwatt/htdocs', timeout: 5000, title: 'WWWATT Server' } 2013-07-12T16:36:00.475Z - info: Listening on port 8080 ...

In the log: ... 2013-07-12T16:37:29.774Z - info: WattMeter connected: beacon=0, deviceId=42, devRelease=0, firmware=11871, logicalName=, manufacturer=, nbInterfaces=1, productName=Yocto-Watt, serial=YWATTMK1-09CE1, vendorId=9440

  • On the GUI, go to 'measures' tab

** Diagnostics

  • stop the server (^C)

  • run the check.js script:

$ sanbox/check.js

About

Wattmeter UI (Yoctopuce hardware)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published