Skip to content

node-red-contrib-sun-position 3.0.0-alpha2: blinds opens and closing randomly #552

@SchoMa1

Description

@SchoMa1

10-position-config.js

     _fixAngles(angleObj) {
  •        angleObj.azimuthRadians = angleObj.azimuth;
    
  •        angleObj.altitudeRadians = angleObj.altitude;
    

wrong (typo? azimuth and altitude mixed up?):

  •        angleObj.azimuthRadians = angleObj.altitude;
    
  •        angleObj.altitudeRadians = angleObj.azimuth;
    

After correction behavior is correct for me ..

Redmatic 7.2.1 Node-Red v1.2.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions