profile
viewpoint

alexellis/leaderboard-app 52

GitHub leaderboard for your organisation or repo (Serverless SPA)

faas-and-furious/faas-github-stats 7

OpenFaaS function to collect github stats for an Organization

kenfdev/ansible-conditional-prompt-example 1

An example to show conditional prompting in Ansible

kenfdev/angular-pizza-creator 0

Example Angular Pizza ordering app

kenfdev/angular-xeditable 0

Edit in place for AngularJS

kenfdev/apollo-server 0

:earth_africa: GraphQL server for Express, Connect, Hapi, Koa and more

created tagkenfdev/remo-exporter

tagv0.7.2

Prometheus Nature Remo Exporter

created time in 2 months

release kenfdev/remo-exporter

v0.7.2

released time in 2 months

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha 4441d02d1ac9d232100c0e7e47115967ae1ed104

run release jobs on tag creation https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag

view details

push time in 2 months

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha 425effdc64b697266525ab69cf1463b199f33abc

run release jobs on tag creation https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag

view details

push time in 2 months

created tagkenfdev/remo-exporter

tagv0.7.1

Prometheus Nature Remo Exporter

created time in 2 months

release kenfdev/remo-exporter

v0.7.1

released time in 2 months

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha 70ef952ce8f600813f975eb4b35d36b2c6a20b7d

run only release jobs on tag creation https://circleci.com/docs/2.0/workflows/#executing-workflows-for-a-git-tag

view details

push time in 2 months

created tagkenfdev/remo-exporter

tagv0.7.0

Prometheus Nature Remo Exporter

created time in 2 months

issue commentkenfdev/remo-exporter

Upgrade to go 1.13

#21

kenfdev

comment created time in 2 months

issue closedkenfdev/remo-exporter

Upgrade to go 1.13

<!--- Provide a general summary of the issue in the Title above -->

Expected Behavior

Run on Go 1.13

Current Behavior

Go 1.11

Detailed Description

Looks like #18 tests are failing and the possible solution is to upgrade to Go 1.13.

closed time in 2 months

kenfdev

PR merged kenfdev/remo-exporter

Add tests and build jobs for every workflow + upgrade to go 1.13

Added tests for PRs and upgraded go to 1.13

Closes #19 #20

+12 -20

1 comment

3 changed files

kenfdev

pr closed time in 2 months

delete branch kenfdev/remo-exporter

delete branch : add-fork-ci

delete time in 2 months

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha 3e36fbbf5f60d24981fa75741943f89cd569a480

Add tests and build jobs for every workflow

view details

Ken Fukuyama

commit sha 255db70077c34d82ac81916bf21a429442b97ec5

upgrade go to 1.13

view details

Ken Fukuyama

commit sha b418e628cd227f7d29a8fb8dfb9f1ba61fdf2db6

change circleci working directory due to permission problems

view details

Ken Fukuyama

commit sha 14999d2af3b153fc95994f473726b07f08e53306

lower codecov threshold

view details

Ken Fukuyama

commit sha f70f6ccbeebf9761f6870e1bc51aea27a094c5d0

Merge pull request #21 from kenfdev/add-fork-ci Add tests and build jobs for every workflow + upgrade to go 1.13

view details

push time in 2 months

issue closedkenfdev/remo-exporter

Add automated tests for pull requests

<!--- Provide a general summary of the issue in the Title above -->

Expected Behavior

Run tests on pull requests.

Current Behavior

No tests are running on pull requests.

Possible Solution

Add configurations to the config.yml for circleci.

closed time in 2 months

kenfdev

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha 14999d2af3b153fc95994f473726b07f08e53306

lower codecov threshold

view details

push time in 2 months

PR opened kenfdev/remo-exporter

Add tests and build jobs for every workflow + upgrade to go 1.13

Added tests for PRs and upgraded go to 1.13

Closes #19 #20

+10 -18

0 comment

2 changed files

pr created time in 2 months

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha b418e628cd227f7d29a8fb8dfb9f1ba61fdf2db6

change circleci working directory due to permission problems

view details

push time in 2 months

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha fe6bb522b8930985fb9248bcf09de7411bfbd77b

change circleci working directory due to permission problems

view details

push time in 2 months

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha 255db70077c34d82ac81916bf21a429442b97ec5

upgrade go to 1.13

view details

push time in 2 months

push eventkenfdev/remo-exporter

Ken Fukuyama

commit sha 3e36fbbf5f60d24981fa75741943f89cd569a480

Add tests and build jobs for every workflow

view details

push time in 2 months

create barnchkenfdev/remo-exporter

branch : add-fork-ci

created branch time in 2 months

issue openedkenfdev/remo-exporter

Upgrade to go 1.13

<!--- Provide a general summary of the issue in the Title above -->

Expected Behavior

Run on Go 1.13

Current Behavior

Go 1.11

Detailed Description

Looks like #18 tests are failing and the possible solution is to upgrade to Go 1.13.

created time in 2 months

issue openedkenfdev/remo-exporter

Add automated tests for pull requests

<!--- Provide a general summary of the issue in the Title above -->

Expected Behavior

Run tests on pull requests.

Current Behavior

No tests are running on pull requests.

Possible Solution

Add configurations to the config.yml for circleci.

created time in 2 months

pull request commentkenfdev/remo-exporter

Support for Remo E lite

Looks like the tests are failing. Mind taking a look @zoetrope ?

https://app.circleci.com/pipelines/github/kenfdev/remo-exporter/2/workflows/ee44df2b-247b-4531-873a-ba98fda3745e/jobs/73

running go test with coverage
# github.com/*******/remo-exporter/exporter
exporter/exporter.go:181: Errorf format %w has unknown verb w
?   	github.com/*******/remo-exporter	[no test files]
ok  	github.com/*******/remo-exporter/config	1.025s	coverage: 89.7% of statements
FAIL	github.com/*******/remo-exporter/exporter [build failed]
?   	github.com/*******/remo-exporter/http	[no test files]
?   	github.com/*******/remo-exporter/log	[no test files]
?   	github.com/*******/remo-exporter/mocks	[no test files]
?   	github.com/*******/remo-exporter/types	[no test files]

Exited with code exit status 2
zoetrope

comment created time in 2 months

push eventkenfdev/remo-exporter

zoetrope

commit sha 416b55f36dad8de624acfc84e544f53796d3a0cd

support for Remo E lite

view details

zoetrope

commit sha 0c6ba7afee5d8cf2111487eb9f6ca6b5b4271f6f

reflect review comments * export values returned from API as it is * stop detecting the device by firmware version

view details

Ken Fukuyama

commit sha 217de0d230cc55258cc70c3daf54c5434cabf1f6

Merge pull request #18 from zoetrope/remo-e-lite Support for Remo E lite

view details

push time in 2 months

PR closed kenfdev/remo-exporter

Fix SEGV when a device lacks some events

Description

device.newest_events.* might be nil when a device lacks a event. For instance, Nature Remo E series always lack the events provided at Nature Remo series.

  {
    "name": "Remo E lite",
    "id": "[deducted]",
    "created_at": "[deducted]",
    "updated_at": "[deducted]",
    "mac_address": "[deducted]",
    "bt_mac_address": "[deducted]",
    "serial_number": "[deducted]",
    "firmware_version": "Remo-E-lite/1.1.2",
    "temperature_offset": 0,
    "humidity_offset": 0,
    "users": [
      {
        "id": "[deducted]",
        "nickname": "[deducted]",
        "superuser": true
      }
    ],
    "newest_events": {}
  }

Motivation and Context

Fix segmentation fault at /metrics when Nature Remo E is present at /1/devices API.

How Has This Been Tested?

Confirmed the SEGV no longer occurs with my local build including this patch.

+12 -4

1 comment

1 changed file

sorah

pr closed time in 2 months

PR merged kenfdev/remo-exporter

Support for Remo E lite

Description

This PR adds a feature to support the Nature Remo E lite. This feature allows remo-exporter to expose cumulative electric energy and measured instantaneous electric energy.

The cumulative electric energy is derived from the following formula. https://developer.nature.global/jp/how-to-calculate-energy-data-from-smart-meter-values

Related Issue

This PR will fix #17

Motivation and Context

I want to visualize electric energy with Remo E lite.

How Has This Been Tested?

I added some test cases in remo_test.go and exporter_test.go.

Screenshots (if appropriate):

remo

+610 -38

4 comments

8 changed files

zoetrope

pr closed time in 2 months

pull request commentkenfdev/remo-exporter

Support for Remo E lite

Apologies about the delay. This LGTM but since I don't have the device, it would be nice to have someone test this with their device. Are either of you able to test this? @sorah @suzutan ?

If no one can, I'll merge this PR this weekend and let's see what happens from there 👍

Thank you all for the contribution 🚀

zoetrope

comment created time in 3 months

more