Thanks for the clarification, I’m able to use the “old” values like temperature and moisture reading values in OpenHab, just not the new values of the second generation sensors.
I played around with the API and my credentials. You’re right, in V2 of the API, the new values are not returned. I changed the URL from https://api.koubachi.com/v2/user/smart_devices/ to https://api.koubachi.com/v3/user/smart_devices/ (V3 instead of V2). Didn’t find any clear documentation, but it works. Here is a sample response I get:
{ "device":{ "id":"0006666dddce", "transmit_interval":86400, "virtual_battery_level":0.9838761667760991, "ssid":null, "last_transmission":"2016-01-03T17:38:32+01:00", "next_transmission":"2016-01-04T17:38:32+01:00", "associated_since":"2015-10-08T19:03:23+02:00", "recent_soilmoisture_reading_value":"70 %", "recent_soilmoisture_reading_time":"2016-01-03T13:30:33+01:00", "recent_soilmoisture_reading_si_value":8881.11429814636, "recent_temperature_reading_value":"6.2\u202f\u00b0C", "recent_temperature_reading_time":"2016-01-03T17:36:30+01:00", "recent_temperature_reading_si_value":279.346333007812, "temperature_polling_interval":3600, "recent_light_reading_value":"0.0\u202flx", "recent_light_reading_time":"2016-01-03T17:36:30+01:00", "recent_light_reading_si_value":0.0, "light_polling_interval":3600, "hardware_product_type":"outdoor", "mac_address":"0006666dddce", "recent_soiltemperature_reading_value":"6.3\u202f\u00b0C", "recent_soiltemperature_reading_time":"2016-01-03T13:30:33+01:00", "recent_soiltemperature_reading_si_value":279.42, "soiltemperature_polling_interval":0, "recent_irlight_reading_value":"0 %", "recent_irlight_reading_time":"2016-01-03T17:36:30+01:00", "recent_irlight_reading_si_value":0.0, "hardware_product_generation":"plant_sensor_2", "hardware_product_name":"Plant Sensor 2 Outdoor", "plants":[ { "id":236281 } ] } }
You can see the additional values this offers, everything from recent_soiltemperature_reading_value to hardware_product_name is new in V3.