Dev corner

Calling all engineers, tinkerers, hackers and geeks.

SSH over wifi

Hi,

I found a nbr of posts mentioning that by changing the firewall settings you could SSH into the Flukso over WIFI which would avoid my lazy A standing in the cold in the garage :-)

eg Post: http://www.vanheusden.com/misc/blog/2009-10-11-flukso.php

I checked under /etc/config/firewall and I do see :

"config 'zone'
option 'name' 'wan'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
option 'masq' '1'
option 'mtu_fix' '1'
option 'input' 'ACCEPT'
"

API https certificate not valid

Hi,

I'm trying to write an tool that access the flukso api.
I can access the data through my browser, but i get an certificate error that i can bypass.
The silverlight framework doesnt allow bypassing the certificate error.
Are there any plans to fix the certificate problem?

Thanks

SNMP on Flukso v2

Hi all,

There is a way to get sensor's datas by snmp ?

I've read some post for snmp on v1 but nothing work on v2.

Regards,

Cyril

API Help, current Kwh

Using the flukso.net api, what is the best way to calculate kWh used in the current day and month?

My thought is to call:
https://api.flukso.net/sensor/?unit=watt&version=1.0&interval=day&resolution=day
returns:
[[1329091200,916]]

So with 916 being the average for the day I would calculate the kWh like:

916 * 24 / 1000

To get the total current month kWh, I was thinking of calling
https://api.flukso.net/sensor/?unit=watt&version=1.0&start=timestamp&resolution=day

Then calculating the total for each day as above.

Problems running an API server

I'm currently looking into running a local server (with external access) on which the Flukso API is listening.
The main purpose of this is letting various Flukso modules send their data to my own server, bypassing https://api.flukso.net.
This of course kills off one extra dependency from the current situation: Flusko module <-> flukso.net <-> personal server (using the flukso api php class)

With this, I'm running into a few difficulties. I've learned that the server sided API uses an in erland written webmachine API, with a Drupal module on top of that. This is where the fun starts;