E Linter Information - gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk GitHub Wiki

Current Known Permission Codes

application.center(293) - smart.light(298) - smart.light.view(307)

application.center(293) - smart.light(298) - smart.light.bind(299)

application.center(293) - smart.light(298) - smart.light.unbind(300)

application.center(293) - smart.light(298) - smart.light.setting(301)

station.view(46) - station.view(48) - station.share.view(218)

station.view(46) - station.view(48) - station.transfer(173)

station.view(46) - station.view(48) - station.gateway.add(119)

station.view(46) - station.view(48) - station.list.view(174)

station.view(46) - station.view(48) - station.edit(111)

station.view(46) - station.view(48) - station.delete(112)

station.view(46) - station.view(48) - station.share.edit(113)

station.view(46) - station.view(48) - station.generation.download(115)

station.view(46) - station.view(48) - station.overview(116)

station.view(46) - station.view(48) - station.overview.device(117)

station.view(46) - station.view(48) - station.overview.event(118)

station.view(46) - station.view(48) - station.create(47)

equip.view(49) - gateway.view(55) - gateway.unbind(70)

equip.view(49) - gateway.view(55) - gateway.list.view(175)

equip.view(49) - inverter.view(50) - inverter.setting.name(73)

equip.view(49) - inverter.view(50) - inverter.setting(76)

equip.view(49) - inverter.view(50) - inverter.delete(104)

equip.view(49) - inverter.view(50) - inverter.list.view(176)

equip.view(49) - event.view(57) - event.download(78)

equip.view(49) - event.view(57) - event.list.view(177)

intelligence(294) - smart.rule(295) - smart.rule.view(302)

intelligence(294) - smart.rule(295) - smart.rule.add(303)

intelligence(294) - smart.rule(295) - smart.rule.edit(304)

intelligence(294) - smart.rule(295) - smart.rule.enable(305)

intelligence(294) - smart.rule(295) - smart.rule.delete(306)

data.report.management(56) - workdata.view(157) - workdata.download(84)

data.report.management(56) - workdata.view(157) - work.data.list.view(183)

company.management(63) - company.user(64) - company.user.add(85)

company.management(63) - company.user(64) - company.user.delete(86)

company.management(63) - company.user(64) - company.user.edit(87)

company.management(63) - company.user(64) - company.user.view(125)

company.management(63) - company.user(64) - company.user.list.view(180)

company.management(63) - company.info(88) - company.info.view(126)

company.management(63) - company.info(88) - company.info.edit(89)

company.management(63) - company.role.list.view(65) - company.role.add(90)

company.management(63) - company.role.list.view(65) - company.role.view(91)

company.management(63) - company.role.list.view(65) - company.role.edit(92)

company.management(63) - company.role.list.view(65) - company.role.delete(93)

How is This used

POST /api/v1/company/role

With the data as follows:

{"name":"Admin","remark":"","type":1,"perms":[293,298,307,299,300,301,46,48,218,173,119,174,111,112,113,115,116,117,118,47,49,55,70,175,50,73,76,104,176,57,78,177,294,295,302,303,304,305,306,56,157,84,183,63,64,85,86,87,125,180,88,126,89,65,90,91,92,93]}

How you can help me gather more data

In the code there is a flow : https://github.com/gdwaterworth/Home-Assistant---E-Linter-Logger---Sunsynk/blob/main/Gather%20Files/Sunsynk%20Debug%20Info%20Gathering.json

Import this flow and click on image

This will populate a sensor called : sensor.sunsynk_debug_permissions

Double click into this sensor and copy and past all of the attributes into a mail to me at [email protected]

image

Variables Available for Update

  • "safetyType": "2",
  • "battMode": "-1",
  • "solarSell": "0",
  • "pvMaxLimit": "8000",
  • "energyMode": "1",
  • "peakAndVallery": "0",
  • "sysWorkMode": "1",
  • "sellTime1": "00:00",
  • "sellTime2": "04:00",
  • "sellTime3": "09:00",
  • "sellTime4": "15:00",
  • "sellTime5": "22:00",
  • "sellTime6": "23:00",
  • "sellTime1Pac": "8000",
  • "sellTime2Pac": "8000",
  • "sellTime3Pac": "8000",
  • "sellTime4Pac": "8000",
  • "sellTime5Pac": "8000",
  • "sellTime6Pac": "8000",
  • "cap1": "50",
  • "cap2": "40",
  • "cap3": "30",
  • "cap4": "90",
  • "cap5": "70",
  • "cap6": "60",
  • "sellTime1Volt": "49",
  • "sellTime2Volt": "49",
  • "sellTime3Volt": "49",
  • "sellTime4Volt": "49",
  • "sellTime5Volt": "49",
  • "sellTime6Volt": "49",
  • "zeroExportPower": "20",
  • "solarMaxSellPower": "9000",
  • "mondayOn": true,
  • "tuesdayOn": true,
  • "wednesdayOn": true,
  • "thursdayOn": true,
  • "fridayOn": true,
  • "saturdayOn": true,
  • "sundayOn": true,
  • "time1on": true,
  • "time2on": true,
  • "time3on": true,
  • "time4on": true,
  • "time5on": true,
  • "time6on": true,
  • "genTime1on": true,
  • "genTime2on": true,
  • "genTime3on": true,
  • "genTime4on": true,
  • "genTime5on": true,
  • "genTime6on": true