Skip to content

Commit

Permalink
* (Apollon77) fix latitude/longitude
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed Mar 7, 2021
1 parent 876bcd6 commit bcf5beb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geofency.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ function setStates(id, jbody) {
adapter.setState(id + '.' + lastStateNames[(jbody.entry == "1") ? 1 : 0], {val: ts, ack: true});
adapter.setState(id + '.motion', {val: jbody.motion, ack: true});
adapter.setState(id + '.name', {val: jbody.name, ack: true});
adapter.setState(id + '.currentLatitude', {val: jbody.currentLatitude, ack: true});
adapter.setState(id + '.currentLongitude', {val: jbody.currentLongitude, ack: true});
adapter.setState(id + '.currentLatitude', {val: jbody.latitude, ack: true});
adapter.setState(id + '.currentLongitude', {val: jbody.longitude, ack: true});
}


Expand Down

0 comments on commit bcf5beb

Please sign in to comment.